teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
73:0720e5550476
Parent:
58:fb7876549148
--- a/Imu.h	Mon Mar 11 11:48:58 2019 +0000
+++ b/Imu.h	Tue Mar 19 12:22:31 2019 +0000
@@ -15,8 +15,10 @@
 class Imu {
 private:
     Serial  sp46Axis;    //
-    INT16   gyroZ;
-    INT16   gyro_ref;
+    int32_t gyroZ;
+    int32_t gyro_ref;
+    //INT16   gyroZ;
+    //INT16   gyro_ref;
     float   yaw;
     float   yaw_ref;
     float   yawOfset;
@@ -33,7 +35,8 @@
     float       GetGyroZ();
     float       GetYaw();
     float       GetYawRef();
-    INT16       GetGyroRef();
+    //INT16       GetGyroRef();
+    int32_t       GetGyroRef();
     void        CalYaw();
     void        CalGyro();
 };