summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-30 16:27:39 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-30 16:27:39 +0000
commitda501ee329a76d8db065cc1a84c5ce93c98c8737 (patch)
tree2d8ab085cfeace59a03e07ab3de3d675847f74d3 /apps
parent92bba80bc25b113c7c64d66c1b09d937dfc57cf3 (diff)
downloadrockbox-da501ee329a76d8db065cc1a84c5ce93c98c8737.tar.gz
rockbox-da501ee329a76d8db065cc1a84c5ce93c98c8737.zip
Removed USB handling from simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1271 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index e95482127e..b7f18fa829 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -395,7 +395,8 @@ bool dirbrowse(char *root)
395 restore = true; 395 restore = true;
396 } 396 }
397 break; 397 break;
398 398
399#ifndef SIMULATOR
399 case SYS_USB_CONNECTED: 400 case SYS_USB_CONNECTED:
400 /* Tell the USB thread that we are safe */ 401 /* Tell the USB thread that we are safe */
401 DEBUGF("dirbrowse got SYS_USB_CONNECTED\n"); 402 DEBUGF("dirbrowse got SYS_USB_CONNECTED\n");
@@ -411,6 +412,7 @@ bool dirbrowse(char *root)
411 strcpy(currdir, "/"); 412 strcpy(currdir, "/");
412 lastdir[0] = 0; 413 lastdir[0] = 0;
413 break; 414 break;
415#endif
414 } 416 }
415 417
416 if ( restore ) { 418 if ( restore ) {