htu21d: declare resetSensor() as void

defect #148

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Jon Trulson 2015-06-10 14:37:01 -06:00 committed by Mihai Tudor Panu
parent 784e8a3eb8
commit 4f5030ecf7
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ HTU21D::~HTU21D() {
mraa_i2c_stop(m_i2ControlCtx); mraa_i2c_stop(m_i2ControlCtx);
} }
int void
HTU21D::resetSensor(void) HTU21D::resetSensor(void)
{ {
uint8_t data; uint8_t data;

View File

@ -134,7 +134,7 @@ class HTU21D {
* it is in a known state. This function can be used to reset * it is in a known state. This function can be used to reset
* the min/max temperature and pressure values. * the min/max temperature and pressure values.
*/ */
int resetSensor(void); void resetSensor(void);
/** /**
* Function intended to test the device and verify it * Function intended to test the device and verify it