diff --git a/src/htu21d/htu21d.cpp b/src/htu21d/htu21d.cpp index 3f68d4c7..7f39de87 100644 --- a/src/htu21d/htu21d.cpp +++ b/src/htu21d/htu21d.cpp @@ -51,7 +51,7 @@ HTU21D::~HTU21D() { mraa_i2c_stop(m_i2ControlCtx); } -int +void HTU21D::resetSensor(void) { uint8_t data; diff --git a/src/htu21d/htu21d.h b/src/htu21d/htu21d.h index 6279d7fb..b22eb86a 100644 --- a/src/htu21d/htu21d.h +++ b/src/htu21d/htu21d.h @@ -134,7 +134,7 @@ class HTU21D { * it is in a known state. This function can be used to reset * the min/max temperature and pressure values. */ - int resetSensor(void); + void resetSensor(void); /** * Function intended to test the device and verify it