Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
98:4df3c0f7e707
Parent:
92:f264fbaa1be5
Child:
99:8139b0c274f4
--- a/USBJoystick/USBJoystick.cpp	Wed Feb 07 00:01:21 2018 +0000
+++ b/USBJoystick/USBJoystick.cpp	Fri Mar 01 23:53:59 2019 +0000
@@ -360,7 +360,7 @@
     int plungerZero, int plungerMax, int plungerRlsTime,
     bool configured, bool sbxpbx, bool newAccelFeatures, 
     bool flashStatusFeature, bool reportTimingFeatures,
-    size_t freeHeapBytes)
+    bool newFlipperLogicTiming, size_t freeHeapBytes)
 {
     HID_REPORT report;
 
@@ -393,7 +393,8 @@
         | (sbxpbx ? 0x02 : 0x00)
         | (newAccelFeatures ? 0x04 : 0x00)
         | (flashStatusFeature ? 0x08 : 0x00)
-        | (reportTimingFeatures ? 0x10 : 0x00);
+        | (reportTimingFeatures ? 0x10 : 0x00)
+        | (newFlipperLogicTiming ? 0x20 : 0x00);
     
     // write the free heap space
     put(12, freeHeapBytes);