From 1dc9de9432d331554005fbd4ba2651f02c4c572f Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Thu, 28 Feb 2008 22:51:39 +0000 Subject: [PATCH] acknowledge USB disconnect. This wasn't always done anymore since the usb_wait_for_disconnect() is gone. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16452 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/sandisk/ata-c200_e200.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/target/arm/sandisk/ata-c200_e200.c b/firmware/target/arm/sandisk/ata-c200_e200.c index fa0d31553f..ea6c2c5eaf 100644 --- a/firmware/target/arm/sandisk/ata-c200_e200.c +++ b/firmware/target/arm/sandisk/ata-c200_e200.c @@ -1101,6 +1101,9 @@ static void sd_thread(void) usb_wait_for_disconnect(&sd_queue); #endif break; + case SYS_USB_DISCONNECTED: + usb_acknowledge(SYS_USB_DISCONNECTED_ACK); + break; } } }