Merge pull request #89 from lauralindzey/bugfix/bme280_double_enable

Fix name of ifdef in linux_userspace.c
This commit is contained in:
kegov 2023-05-10 10:13:34 +02:00 committed by GitHub
commit f7845b7942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;