mirror of
https://github.com/boschsensortec/BME280_SensorAPI.git
synced 2024-10-05 20:47:48 -04:00
Fix name of ifdef in linux_userspace.c
Previously linux_userspace.c had used BME280_FLOAT_ENABLE, but bme280.c defines BME280_DOUBLE_ENABLE.
This commit is contained in:
parent
3ba9abb813
commit
3b964fc935
@ -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…
x
Reference in New Issue
Block a user