Library for Bosch Sensortec BMI160 IMU

Dependents:   Rocket MAX32630FTHR_JOYSTICK MAX32630FTHR_IMU_Hello_World Pike_the_Flipper_Main_Branch ... more

Fork of BMI160 by Justin Jordan

Revision:
3:e1770675eca4
Parent:
2:598e601e5846
Child:
9:ca6b5fecdd63
--- a/bmi160_i2c.cpp	Thu Dec 08 00:32:41 2016 +0000
+++ b/bmi160_i2c.cpp	Fri Dec 09 00:29:29 2016 +0000
@@ -66,7 +66,8 @@
 
 
 //*****************************************************************************
-int32_t BMI160_I2C::readBlock(Registers startReg, Registers stopReg, uint8_t *data)
+int32_t BMI160_I2C::readBlock(Registers startReg, Registers stopReg, 
+uint8_t *data)
 {
     int32_t rtnVal = -1;
     int32_t numBytes = ((stopReg - startReg) + 1);
@@ -82,7 +83,8 @@
 
 
 //*****************************************************************************
-int32_t BMI160_I2C::writeBlock(Registers startReg, Registers stopReg, const uint8_t *data)
+int32_t BMI160_I2C::writeBlock(Registers startReg, Registers stopReg, 
+const uint8_t *data)
 {
     int32_t numBytes = ((stopReg - startReg) + 1);
     char packet[numBytes + 1];