From da501ee329a76d8db065cc1a84c5ce93c98c8737 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 30 Jun 2002 16:27:39 +0000 Subject: [PATCH] Removed USB handling from simulator build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1271 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) {