Added initial interfaces and some sensors implementing them

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Stefanescu
2018-06-12 18:46:49 +03:00
committed by Mihai Tudor Panu
parent 6bf21a23e7
commit f035470822
102 changed files with 1183 additions and 182 deletions

View File

@@ -99,7 +99,7 @@ void BMPX8X::writeReg(uint8_t reg, uint8_t val)
+ ": bmpx8x_write_reg() failed");
}
int BMPX8X::getPressure()
float BMPX8X::getPressure()
{
return bmpx8x_get_pressure(m_bmpx8x);
}