correct hid host mount/unmount callback

rename HOST_CLASS_HID to CFG_TUH_HID
This commit is contained in:
hathach
2021-05-12 20:04:19 +07:00
parent be165a6713
commit a5cd81a226
6 changed files with 42 additions and 39 deletions

View File

@@ -266,9 +266,6 @@
#error there is no benefit enable hub with max device is 1. Please disable hub or increase CFG_TUSB_HOST_DEVICE_MAX
#endif
//------------- HID CLASS -------------//
#define HOST_CLASS_HID ( CFG_TUH_HID_KEYBOARD + CFG_TUH_HID_MOUSE + CFG_TUSB_HOST_HID_GENERIC )
#ifndef CFG_TUH_ENUMERATION_BUFSZIE
#define CFG_TUH_ENUMERATION_BUFSZIE 256
#endif