yanbe / bme280-esp-idf-i2c

Sample code for reading values from a BME280 temperature-humidity-pressure sensor, via ESP-IDF's I2C master driver, supports both normal mode and forced mode described in the datasheet. https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
Apache License 2.0
42 stars 17 forks source link

error: 'v_uncomp_tetask_bme280_forced_modemperature_s32' undeclared #4

Open itofficeeu opened 4 years ago

itofficeeu commented 4 years ago

If you try the forced mode, you will probably get this error:

error: 'v_uncomp_tetask_bme280_forced_modemperature_s32' undeclared (first use in this function)

The variable v_uncomp_tetask_bme280_forced_modemperature_s32 i not defined in any place in the code.

For now, I can compile it by copying the variable / code line from not-forced mode function. I doubt if this is correct or not.

What is intended here?