summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-12 15:29:17 +0700
committerhathach <[email protected]>2021-05-18 12:58:24 +0700
commite83bdcdfdc521fef2dd182a5f83cd1c1be673865 (patch)
tree585426933841b97d579ab14ccb08b49ce2f70e7a /src/host
parent4023d05e9306c68a3760fd696220868eab69a0d4 (diff)
reworking hid host
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 88e5c02a7..f7cad4640 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -915,6 +915,7 @@ static bool enum_set_config_complete(uint8_t dev_addr, tusb_control_request_t co
// Start the Set Configuration process for interfaces (itf = 0xff)
// Since driver can perform control transfer within its set_config, this is done asynchronously.
// The process continue with next interface when class driver complete its sequence with usbh_driver_set_config_complete()
+ // TODO use separated API instead of usig 0xff
usbh_driver_set_config_complete(dev_addr, 0xff);
return true;