Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
99:8139b0c274f4
Parent:
98:4df3c0f7e707
Child:
108:bd5d4bd4383b
--- a/USBJoystick/USBJoystick.cpp	Fri Mar 01 23:53:59 2019 +0000
+++ b/USBJoystick/USBJoystick.cpp	Sat Mar 02 21:05:43 2019 +0000
@@ -360,7 +360,7 @@
     int plungerZero, int plungerMax, int plungerRlsTime,
     bool configured, bool sbxpbx, bool newAccelFeatures, 
     bool flashStatusFeature, bool reportTimingFeatures,
-    bool newFlipperLogicTiming, size_t freeHeapBytes)
+    bool chimeLogicFeature, size_t freeHeapBytes)
 {
     HID_REPORT report;
 
@@ -388,13 +388,14 @@
     //  0x04  -> new accelerometer features supported
     //  0x08  -> flash status feature supported
     //  0x10  -> joystick report timing features supported
+    //  0x20  -> chime logic feature supported
     report.data[11] = 
         (configured ? 0x01 : 0x00)
         | (sbxpbx ? 0x02 : 0x00)
         | (newAccelFeatures ? 0x04 : 0x00)
         | (flashStatusFeature ? 0x08 : 0x00)
         | (reportTimingFeatures ? 0x10 : 0x00)
-        | (newFlipperLogicTiming ? 0x20 : 0x00);
+        | (chimeLogicFeature ? 0x20 : 0x00);
     
     // write the free heap space
     put(12, freeHeapBytes);