summaryrefslogtreecommitdiff
path: root/demos/device
diff options
context:
space:
mode:
Diffstat (limited to 'demos/device')
-rw-r--r--demos/device/src/tusb_config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h
index 77cc628a9..9059a5471 100644
--- a/demos/device/src/tusb_config.h
+++ b/demos/device/src/tusb_config.h
@@ -67,11 +67,11 @@
#define TUSB_CFG_DEVICE_FULLSPEED 1 // TODO refractor, remove
//------------- CLASS -------------//
-#define TUSB_CFG_DEVICE_HID_KEYBOARD 0
-#define TUSB_CFG_DEVICE_HID_MOUSE 0
+#define TUSB_CFG_DEVICE_HID_KEYBOARD 1
+#define TUSB_CFG_DEVICE_HID_MOUSE 1
#define TUSB_CFG_DEVICE_HID_GENERIC 0
-#define TUSB_CFG_DEVICE_MSC 1
-#define TUSB_CFG_DEVICE_CDC 0
+#define TUSB_CFG_DEVICE_MSC 0
+#define TUSB_CFG_DEVICE_CDC 1
//--------------------------------------------------------------------+
// COMMON CONFIGURATION
@@ -108,7 +108,7 @@
#error Please define USB RAM section
#endif
-#elif __ICCARM__ // compiled with IAR
+#elif defined __ICCARM__ // compiled with IAR
#if (TUSB_CFG_MCU == MCU_LPC43XX)
#define TUSB_CFG_ATTR_USBRAM _Pragma("location=\".ahb_sram1\"")