mirror of
https://github.com/utkumaden/esp-idf-bmx280
synced 2025-01-23 05:26:33 +01:00
Fix preprocessor directive mishap causing compilation failure when BMX280_EXPECT_BMP280 set.
This commit is contained in:
parent
2bc4373f8d
commit
e1a05657e2
@ -155,6 +155,7 @@ typedef struct bmx280_config_t {
|
||||
#else
|
||||
#define BMX280_DEFAULT_HUMIDITY_OVERSAMPLING BMX280_HUMIDITY_OVERSAMPLING_X16
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !(CONFIG_BMX280_EXPECT_BMP280)
|
||||
#define BMX280_DEFAULT_CONFIG ((bmx280_config_t) { BMX280_DEFAULT_TEMPERATURE_OVERSAMPLING, BMX280_DEFAULT_PRESSURE_OVERSAMPLING, BMX280_DEFAULT_STANDBY, BMX280_DEFAULT_IIR, BMX280_DEFAULT_HUMIDITY_OVERSAMPLING })
|
||||
@ -163,5 +164,3 @@ typedef struct bmx280_config_t {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user