Jorn Dokter / Mbed 2 deprecated TEB_branch2

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Revision:
32:da34d27a13f3
Parent:
31:d1bd16a05148
Child:
33:5e2e95c322da
Child:
35:51914ac2d7f4
--- a/global.h	Wed Oct 09 13:50:32 2019 +0000
+++ b/global.h	Wed Oct 09 14:19:23 2019 +0000
@@ -2,14 +2,14 @@
 #define global_h
 
     //Structures
-    struct motorReturnSub 
+    struct motorReturnSub
     {
         int counts;
         float angle;
         float velocity;
     };
     
-    struct motorReturn
+    struct motorData
     {
         motorReturnSub motor1;
         motorReturnSub motor2;
@@ -20,6 +20,6 @@
     extern double X; //Input from EMG, signal X
     
     //Define structures
-    extern motorReturn motorData; 
+    extern motorData motorReturn; 
 
 #endif
\ No newline at end of file