Skip to content

Commit

Permalink
Merge pull request #121 from finitespace/117-non-void-return
Browse files Browse the repository at this point in the history
85 non void return
  • Loading branch information
finitespace authored Feb 26, 2021
2 parents 7a211f0 + 0e9e15c commit 37a020c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/BME280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -110,7 +110,7 @@ bool BME280::ReadChipID()


/****************************************************************/
bool BME280::WriteSettings()
void BME280::WriteSettings()
{
uint8_t ctrlHum, ctrlMeas, config;

Expand Down
4 changes: 2 additions & 2 deletions src/BME280.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class BME280
///////////////////////////////////////////////////////////////
/// Force a unfiltered measurement to populate the filter
/// buffer.
bool InitializeFilter();
void InitializeFilter();


/*****************************************************************/
Expand Down Expand Up @@ -296,7 +296,7 @@ class BME280

/////////////////////////////////////////////////////////////////
/// Write the settings to the chip.
bool WriteSettings();
void WriteSettings();


/////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 37a020c

Please sign in to comment.