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/playlist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/playlist.c') diff --git a/apps/playlist.c b/apps/playlist.c index 61432eb851..4588548d54 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -1337,12 +1337,10 @@ static void playlist_thread(void) break ; } -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) case SYS_USB_CONNECTED: usb_acknowledge(SYS_USB_CONNECTED_ACK); usb_wait_for_disconnect(&playlist_queue); break ; -#endif } } } -- cgit