Library for LIS2DH12 acc.
Dependents: acnSensa_LIS aconnoCellularGnss Lizzy
Diff: Lis2dh12.cpp
- Revision:
- 3:07ddb07f8b7f
- Parent:
- 2:1fa08c7a2a3c
- Child:
- 4:043396f22548
diff -r 1fa08c7a2a3c -r 07ddb07f8b7f Lis2dh12.cpp --- a/Lis2dh12.cpp Fri Jan 12 16:06:45 2018 +0000 +++ b/Lis2dh12.cpp Fri Jan 12 16:10:28 2018 +0000 @@ -134,7 +134,7 @@ i2c.readFromReg((char)CTRL_REG5, &ctrl5Copy, 1); ctrl5Copy |= enable; i2c.writeToReg((char)CTRL_REG5, &ctrl5Copy, 1); - return 0; + return 0; } uint8_t Lis2dh12::int1Duration(uint8_t duration){