update

Fork of BNO055_fusion by Tom Rasmussen

Files at this revision

API Documentation at this revision

Comitter:
wchurch
Date:
Mon Apr 10 21:00:17 2017 +0000
Parent:
6:662c92c84505
Commit message:
typo fix;

Changed in this revision

BNO055.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BNO055.cpp	Mon Apr 10 20:12:38 2017 +0000
+++ b/BNO055.cpp	Mon Apr 10 21:00:17 2017 +0000
@@ -109,7 +109,7 @@
     } else {
         deg_or_rad = 0; // Degree per sec
     }
-    dt[0] = BNO055_GYRO_X_LSB;
+    dt[0] = BNO055_GYR_X_LSB;
     _i2c.write(chip_addr, dt, 1, true);
     _i2c.read(chip_addr, dt, 6, false);
     x = dt[1] << 8 | dt[0];