remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE

This commit is contained in:
hathach
2021-05-13 15:44:00 +07:00
parent cc1b83412a
commit 641f55f1f1
4 changed files with 7 additions and 38 deletions

View File

@@ -140,8 +140,8 @@ bool tuh_n_hid_n_keyboard_mounted(uint8_t dev_addr, uint8_t instance)
//--------------------------------------------------------------------+
// MOUSE
//--------------------------------------------------------------------+
#if CFG_TUH_HID_MOUSE
// TODO remove
static hidh_interface_t mouseh_data[CFG_TUSB_HOST_DEVICE_MAX]; // does not have addr0, index = dev_address-1
//------------- Public API -------------//
@@ -151,8 +151,6 @@ bool tuh_n_hid_n_mouse_mounted(uint8_t dev_addr, uint8_t instance)
return tuh_device_ready(dev_addr) && (mouseh_data[dev_addr-1].ep_in != 0);
}
#endif
//--------------------------------------------------------------------+
// USBH API
//--------------------------------------------------------------------+