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/gui/usb_screen.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/gui/usb_screen.c') diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 80b24c150c..32c0773ed6 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c @@ -251,9 +251,7 @@ void gui_usb_screen_run(bool early_usb) touchscreen_set_mode(TOUCHSCREEN_BUTTON); #endif -#ifndef SIMULATOR usb_acknowledge(SYS_USB_CONNECTED_ACK); -#endif #ifdef USB_ENABLE_HID usb_hid = global_settings.usb_hid; -- cgit v1.2.3