Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
78:1e00b3fa11af
Parent:
77:0b96f6867312
Child:
82:4f6209cb5c33
--- a/cfgVarMsgMap.h	Fri Mar 17 22:02:08 2017 +0000
+++ b/cfgVarMsgMap.h	Sun Mar 19 05:30:53 2017 +0000
@@ -72,9 +72,10 @@
         break;
         
     case 4:
-        // Accelerometer orientation and range
-        v_byte(orientation, 2);
-        v_byte(accelRange, 3);
+        // Accelerometer options
+        v_byte(accel.orientation, 2);
+        v_byte(accel.range, 3);
+        v_byte(accel.autoCenterTime, 4);
         break;
 
     case 5:
@@ -163,7 +164,8 @@
         
     case 16:
         // shift button configuration
-        v_byte(shiftButton, 2);
+        v_byte(shiftButton.idx, 2);
+        v_byte(shiftButton.mode, 3);
         break;
         
     case 17: