Library for Bosch Sensortech BMI160 IMU

Dependents:   MAX32630FTHR_BALANCE_BOT MPSMAX_copy MAX32630FTHR_BALANCE_BOT SELF_BALANCING_BOT

Revision:
3:e1770675eca4
Parent:
2:598e601e5846
Child:
9:ca6b5fecdd63
diff -r 598e601e5846 -r e1770675eca4 bmi160_i2c.cpp
--- 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];