From 1645c148e35becff9668cc541be5c850153370eb Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 17 Nov 2011 18:40:00 +0000 Subject: Simulate usb plugging on the sim better using sim_tasks. Now all threads need to ack the connection like on real target, dircache is unloaded and playback stops accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31009 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 8d522b1536..058ab85f16 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -4705,13 +4705,11 @@ static void tagcache_thread(void) case SYS_POWEROFF: break ; -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) case SYS_USB_CONNECTED: logf("USB: TagCache"); usb_acknowledge(SYS_USB_CONNECTED_ACK); usb_wait_for_disconnect(&tagcache_queue); break ; -#endif } } } -- cgit v1.2.3