Multitech mDot/UDK support.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/hts221/hts221_class.cpp
- Revision:
- 38:e06de1c26727
- Parent:
- 27:ff11b6df3e8a
- Child:
- 57:04563dd74269
--- a/Components/hts221/hts221_class.cpp Thu Jun 04 14:09:11 2015 +0200 +++ b/Components/hts221/hts221_class.cpp Fri Jun 05 16:54:47 2015 +0200 @@ -271,7 +271,7 @@ } } - while(!(tmp && 0x02)); + while(!(tmp & 0x02)); } @@ -341,7 +341,7 @@ } } - while(!(tmp && 0x01)); + while(!(tmp & 0x01)); } if(HTS221_IO_Read(&tempReg[0], (HTS221_TEMP_OUT_L_ADDR | HTS221_I2C_MULTIPLEBYTE_CMD),