summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/usb-fw-pp502x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c
index 19f21e12ed..f1d250d3ec 100644
--- a/firmware/target/arm/usb-fw-pp502x.c
+++ b/firmware/target/arm/usb-fw-pp502x.c
@@ -226,9 +226,7 @@ void usb_insert_int(void)
226 timeout_register(&usb_oneshot, usb_timeout_event, HZ/5, val); 226 timeout_register(&usb_oneshot, usb_timeout_event, HZ/5, val);
227} 227}
228 228
229/* USB_DETECT_BY_DRV: Called during the bus reset interrupt when in detect mode 229/* USB_DETECT_BY_CORE: Called when device descriptor is requested */
230 * USB_DETECT_BY_CORE: Called when device descriptor is requested
231 */
232void usb_drv_usb_detect_event(void) 230void usb_drv_usb_detect_event(void)
233{ 231{
234 /* Filter for invalid bus reset when unplugging by checking the pin state. */ 232 /* Filter for invalid bus reset when unplugging by checking the pin state. */