diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 2ca9a5124e..e95482127e 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -401,8 +401,15 @@ bool dirbrowse(char *root) | |||
401 | DEBUGF("dirbrowse got SYS_USB_CONNECTED\n"); | 401 | DEBUGF("dirbrowse got SYS_USB_CONNECTED\n"); |
402 | usb_acknowledge(SYS_USB_CONNECTED_ACK); | 402 | usb_acknowledge(SYS_USB_CONNECTED_ACK); |
403 | 403 | ||
404 | usb_display_info(); | ||
405 | |||
404 | /* Wait until the USB cable is extracted again */ | 406 | /* Wait until the USB cable is extracted again */ |
405 | usb_wait_for_disconnect(&button_queue); | 407 | usb_wait_for_disconnect(&button_queue); |
408 | |||
409 | /* Force a re-read of the root directory */ | ||
410 | restore = 1; | ||
411 | strcpy(currdir, "/"); | ||
412 | lastdir[0] = 0; | ||
406 | break; | 413 | break; |
407 | } | 414 | } |
408 | 415 | ||