From daf3ddc70d280533628b7340b054df5afb3e610d Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Thu, 28 Feb 2008 22:37:02 +0000 Subject: don't call usb_wait_for_disconnect() in the sd thread. The usb storage driver uses the sd driver, and wants to know about changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16449 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/sandisk/ata-c200_e200.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware') diff --git a/firmware/target/arm/sandisk/ata-c200_e200.c b/firmware/target/arm/sandisk/ata-c200_e200.c index 8714b1e055..fa0d31553f 100644 --- a/firmware/target/arm/sandisk/ata-c200_e200.c +++ b/firmware/target/arm/sandisk/ata-c200_e200.c @@ -1097,7 +1097,9 @@ static void sd_thread(void) case SYS_USB_CONNECTED: usb_acknowledge(SYS_USB_CONNECTED_ACK); /* Wait until the USB cable is extracted again */ +#ifndef HAVE_USBSTACK usb_wait_for_disconnect(&sd_queue); +#endif break; } } -- cgit v1.2.3