diff --git a/src/BME280.cpp b/src/BME280.cpp index bc57c38..d3d9bf6 100644 --- a/src/BME280.cpp +++ b/src/BME280.cpp @@ -69,7 +69,7 @@ bool BME280::Initialize() /****************************************************************/ -bool BME280::InitializeFilter() +void BME280::InitializeFilter() { // Force an unfiltered measurement to populate the filter buffer. // This fixes a bug that causes the first read to always be 28.82 °C 81732.34 hPa. @@ -110,7 +110,7 @@ bool BME280::ReadChipID() /****************************************************************/ -bool BME280::WriteSettings() +void BME280::WriteSettings() { uint8_t ctrlHum, ctrlMeas, config; diff --git a/src/BME280.h b/src/BME280.h index a0c3df0..247a1e5 100644 --- a/src/BME280.h +++ b/src/BME280.h @@ -213,7 +213,7 @@ class BME280 /////////////////////////////////////////////////////////////// /// Force a unfiltered measurement to populate the filter /// buffer. - bool InitializeFilter(); + void InitializeFilter(); /*****************************************************************/ @@ -296,7 +296,7 @@ class BME280 ///////////////////////////////////////////////////////////////// /// Write the settings to the chip. - bool WriteSettings(); + void WriteSettings(); /////////////////////////////////////////////////////////////////