fix hid generic various error

This commit is contained in:
hathach
2018-07-28 20:15:20 +07:00
parent c729db2294
commit 8b17c54609
7 changed files with 81 additions and 62 deletions

View File

@@ -47,6 +47,17 @@
extern "C" {
#endif
//--------------------------------------------------------------------+
// Class Driver Configuration
//--------------------------------------------------------------------+
#if !CFG_TUD_HID_KEYBOARD && CFG_TUD_DESC_BOOT_KEYBOARD
#error CFG_TUD_HID_KEYBOARD must be enabled
#endif
#if !CFG_TUD_HID_MOUSE && CFG_TUD_DESC_BOOT_MOUSE
#error CFG_TUD_HID_MOUSE must be enabled
#endif
//--------------------------------------------------------------------+
// HID GENERIC API