summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-fw-pp502x.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-09-14 16:42:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-09-14 16:42:43 +0000
commitc222f38c03734b7849799b08f2daf5bd85ace303 (patch)
treebb5674aac469d58f90377126827c9e98e3eb8c0e /firmware/target/arm/usb-fw-pp502x.c
parent0576e717254702f2b3db06e6e223be919331ab7b (diff)
downloadrockbox-c222f38c03734b7849799b08f2daf5bd85ace303.tar.gz
rockbox-c222f38c03734b7849799b08f2daf5bd85ace303.zip
Remove obsolete USB_DETECT_BY_DRV define throughout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/usb-fw-pp502x.c')
-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. */