diff options
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 954faece94..3223cabdbe 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1998,6 +1998,9 @@ static void mpeg_thread(void) | |||
1998 | /* Tell the USB thread that we are safe */ | 1998 | /* Tell the USB thread that we are safe */ |
1999 | DEBUGF("mpeg_thread got SYS_USB_CONNECTED\n"); | 1999 | DEBUGF("mpeg_thread got SYS_USB_CONNECTED\n"); |
2000 | usb_acknowledge(SYS_USB_CONNECTED_ACK); | 2000 | usb_acknowledge(SYS_USB_CONNECTED_ACK); |
2001 | |||
2002 | /* Wait until the USB cable is extracted again */ | ||
2003 | usb_wait_for_disconnect(&mpeg_queue); | ||
2001 | break; | 2004 | break; |
2002 | } | 2005 | } |
2003 | } | 2006 | } |