mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
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:
parent
784e8a3eb8
commit
4f5030ecf7
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user