summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-11 20:49:46 +0700
committerhathach <[email protected]>2013-01-11 20:49:46 +0700
commite935f29541d1c65a0bd7f480f0ccf0137450f091 (patch)
treecbd64175b9e9179345569acf7a867b2a036bcb85 /tinyusb/class
parentd76df5400379495d0eb6c6a8301a84042681ea12 (diff)
tested keyboard device with lpcXpresso1347 board
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/hid.c b/tinyusb/class/hid.c
index b5416faa3..ec2df6156 100644
--- a/tinyusb/class/hid.c
+++ b/tinyusb/class/hid.c
@@ -41,12 +41,12 @@
#ifdef TUSB_CFG_DEVICE_HID_KEYBOARD
USB_HID_KeyboardReport_t hid_keyboard_report;
-volatile static bool bKeyChanged = false;
+static volatile bool bKeyChanged = false;
#endif
#ifdef TUSB_CFG_DEVICE_HID_MOUSE
USB_HID_MouseReport_t hid_mouse_report;
-volatile static bool bMouseChanged = false;
+static volatile bool bMouseChanged = false;
#endif
/**************************************************************************/