summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-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 ) {