diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2011-09-09 16:15:35 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2011-09-09 16:15:35 +0000 |
commit | 544a52d9eb274c8989df2268324dcbf8f18795c6 (patch) | |
tree | ab152284efafceada3b5554a16e037d8003151f2 /apps/menus | |
parent | 49b64f13e548f5622d2932e3dd5c77b65c1d9fdd (diff) |
Add "USB Hide Internal Drive" option for multidrive devices with software usb.
This option allows accessing the card slot from "dumb" USB hosts like some car
audio systems that do not handle multi-LUN devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30489 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 82c91aa3c4..02f68aa4ab 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -268,6 +268,9 @@ MENUITEM_SETTING(start_screen, &global_settings.start_in_screen, NULL); MENUITEM_SETTING(usb_hid, &global_settings.usb_hid, NULL); MENUITEM_SETTING(usb_keypad_mode, &global_settings.usb_keypad_mode, NULL); #endif +#if defined(USB_ENABLE_STORAGE) && defined(HAVE_MULTIDRIVE) +MENUITEM_SETTING(usb_skip_first_drive, &global_settings.usb_skip_first_drive, NULL); +#endif #ifdef HAVE_MORSE_INPUT MENUITEM_SETTING(morse_input, &global_settings.morse_input, NULL); @@ -330,6 +333,9 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), &usb_hid, &usb_keypad_mode, #endif +#if defined(USB_ENABLE_STORAGE) && defined(HAVE_MULTIDRIVE) + &usb_skip_first_drive, +#endif ); /* SYSTEM MENU */ |