From 453550a6877afcda342ac2477cf05028fff053f9 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 18 Jan 2011 14:10:06 +0000 Subject: Try to get some control over #ifdef hell in usb.c by refactoring and inline function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29084 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 1 - 1 file changed, 1 deletion(-) (limited to 'firmware/drivers/ata.c') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 77cd89f13f..7d37d051c9 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -946,7 +946,6 @@ static void ata_thread(void) case SYS_USB_DISCONNECTED: /* Tell the USB thread that we are ready again */ DEBUGF("ata_thread got SYS_USB_DISCONNECTED\n"); - usb_acknowledge(SYS_USB_DISCONNECTED_ACK); usb_mode = false; break; #endif -- cgit v1.2.3