mirror of
https://github.com/boschsensortec/BME280_SensorAPI.git
synced 2024-09-19 07:55:58 -04:00
Merge pull request #89 from lauralindzey/bugfix/bme280_double_enable
Fix name of ifdef in linux_userspace.c
This commit is contained in:
commit
f7845b7942
@ -246,7 +246,7 @@ void print_sensor_data(struct bme280_data *comp_data)
|
||||
{
|
||||
float temp, press, hum;
|
||||
|
||||
#ifdef BME280_FLOAT_ENABLE
|
||||
#ifdef BME280_DOUBLE_ENABLE
|
||||
temp = comp_data->temperature;
|
||||
press = 0.01 * comp_data->pressure;
|
||||
hum = comp_data->humidity;
|
||||
|
Loading…
Reference in New Issue
Block a user