summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index efe7570bff..a85545efce 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -967,6 +967,7 @@ static void mpeg_thread(void)
967 967
968 case SYS_USB_CONNECTED: 968 case SYS_USB_CONNECTED:
969 stop_playing(); 969 stop_playing();
970#ifndef SIMULATOR
970 971
971 /* Tell the USB thread that we are safe */ 972 /* Tell the USB thread that we are safe */
972 DEBUGF("mpeg_thread got SYS_USB_CONNECTED\n"); 973 DEBUGF("mpeg_thread got SYS_USB_CONNECTED\n");
@@ -974,6 +975,7 @@ static void mpeg_thread(void)
974 975
975 /* Wait until the USB cable is extracted again */ 976 /* Wait until the USB cable is extracted again */
976 usb_wait_for_disconnect(&mpeg_queue); 977 usb_wait_for_disconnect(&mpeg_queue);
978#endif
977 break; 979 break;
978 } 980 }
979 } 981 }