diff options
Diffstat (limited to 'uisimulator/common/sim_tasks.c')
-rw-r--r-- | uisimulator/common/sim_tasks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c index 809b50569f..feb88e2c58 100644 --- a/uisimulator/common/sim_tasks.c +++ b/uisimulator/common/sim_tasks.c | |||
@@ -145,7 +145,7 @@ void sim_trigger_screendump(void) | |||
145 | static bool is_usb_inserted; | 145 | static bool is_usb_inserted; |
146 | void sim_trigger_usb(bool inserted) | 146 | void sim_trigger_usb(bool inserted) |
147 | { | 147 | { |
148 | int usbmode = 0; | 148 | int usbmode = USBMODE_DEFAULT; |
149 | if (inserted) | 149 | if (inserted) |
150 | { | 150 | { |
151 | send_event(SYS_EVENT_USB_INSERTED, &usbmode); | 151 | send_event(SYS_EVENT_USB_INSERTED, &usbmode); |