summaryrefslogtreecommitdiff
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
parent92bba80bc25b113c7c64d66c1b09d937dfc57cf3 (diff)
Removed USB handling from simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1271 a1c6a512-1295-4272-9138-f99709370657
-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)
restore = true;
}
break;
-
+
+#ifndef SIMULATOR
case SYS_USB_CONNECTED:
/* Tell the USB thread that we are safe */
DEBUGF("dirbrowse got SYS_USB_CONNECTED\n");
@@ -411,6 +412,7 @@ bool dirbrowse(char *root)
strcpy(currdir, "/");
lastdir[0] = 0;
break;
+#endif
}
if ( restore ) {