Ironcup Mar 2020

Dependencies:   mbed mbed-rtos MotionSensor EthernetInterface

Revision:
22:b7cca3089dfe
Parent:
14:e8cd237c8639
--- a/SensorsLibrary/FXAS21002.cpp	Sat Jul 16 19:17:28 2016 +0000
+++ b/SensorsLibrary/FXAS21002.cpp	Mon Sep 21 21:45:08 2020 +0000
@@ -55,6 +55,7 @@
 {
     float gyro_data[3];
     acquire_gyro_data_dps(gyro_data);
+    
     angle = angle + (gyro_data[2]-GYRO_OFFSET)*(period/1000000);
     if(angle > 180)
         angle = angle - 360;