diff options
| author | hathach <[email protected]> | 2021-05-13 15:44:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-18 12:58:24 +0700 |
| commit | 641f55f1f18234dbcf3f2b5d46d2231a5e9abae3 (patch) | |
| tree | 12b25f506cac8130aa7d77c9db03050932205b0e /src/class | |
| parent | cc1b83412a0263f0f3d5db492f5680f4a9bb179b (diff) | |
remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/hid/hid_host.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c index dc29f7322..60ee667d0 100644 --- a/src/class/hid/hid_host.c +++ b/src/class/hid/hid_host.c @@ -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 //--------------------------------------------------------------------+ |
