summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-23 12:18:47 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-23 12:18:47 +0000
commitadfbc119604e93d94f763b5721f64ecdc2247aa9 (patch)
treed1e0163b6f87d2d7b4fc00e840bbef86c99bb221
parentd78a1422cdd6e3f296a1a3c951d45e9edb96dc19 (diff)
downloadrockbox-adfbc119604e93d94f763b5721f64ecdc2247aa9.tar.gz
rockbox-adfbc119604e93d94f763b5721f64ecdc2247aa9.zip
Now leaves the WPS when the music is stopped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1418 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index dd168059b7..d919261461 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -267,7 +267,8 @@ int wps_show(void)
267 break; 267 break;
268 mpeg_stop(); 268 mpeg_stop();
269 status_set_playmode(STATUS_STOP); 269 status_set_playmode(STATUS_STOP);
270 break; 270 return 0;
271
271#ifndef SIMULATOR 272#ifndef SIMULATOR
272 case SYS_USB_CONNECTED: 273 case SYS_USB_CONNECTED:
273 /* Tell the USB thread that we are safe */ 274 /* Tell the USB thread that we are safe */