fix hid warning, move report descriptor template to hid.h

This commit is contained in:
hathach
2018-07-31 14:59:39 +07:00
parent d1a9d52c05
commit a2b7b9ddb9
4 changed files with 110 additions and 102 deletions

View File

@@ -50,6 +50,10 @@
//--------------------------------------------------------------------+
// Class Driver Default Configure & Validation
//--------------------------------------------------------------------+
#ifndef CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
#define CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP 0
#endif
#if !CFG_TUD_HID_KEYBOARD && CFG_TUD_HID_KEYBOARD_BOOT
#error CFG_TUD_HID_KEYBOARD must be enabled
#endif