diff options
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 47384bdbed..17720b5145 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -2156,17 +2156,31 @@ const struct settings_list settings[] = { | |||
2156 | "Interactive", | 2156 | "Interactive", |
2157 | "Powersave", | 2157 | "Powersave", |
2158 | "Performance"), | 2158 | "Performance"), |
2159 | #endif | ||
2160 | #if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR) | ||
2159 | CHOICE_SETTING(0, | 2161 | CHOICE_SETTING(0, |
2160 | usb_mode, | 2162 | usb_mode, |
2161 | LANG_IBASSO_USB_MODE, | 2163 | LANG_USB_MODE, |
2162 | USB_MODE_MASS_STORAGE, | 2164 | USB_MODE_MASS_STORAGE, |
2163 | "usb mode", | 2165 | "usb mode", |
2164 | "mass storage,charge,adb", | 2166 | "ask,mass storage,charge" |
2165 | ibasso_set_usb_mode, | 2167 | #if defined(DX50) || defined(DX90) |
2168 | ",adb" | ||
2169 | #endif | ||
2170 | , | ||
2171 | usb_set_mode, | ||
2172 | #if defined(DX50) || defined(DX90) | ||
2173 | 4, | ||
2174 | #else | ||
2166 | 3, | 2175 | 3, |
2167 | ID2P(LANG_IBASSO_USB_MODE_MASS_STORAGE), | 2176 | #endif |
2168 | ID2P(LANG_IBASSO_USB_MODE_CHARGE), | 2177 | ID2P(LANG_ASK), |
2169 | ID2P(LANG_IBASSO_USB_MODE_ADB)), | 2178 | ID2P(LANG_USB_MODE_MASS_STORAGE), |
2179 | ID2P(LANG_USB_MODE_CHARGE) | ||
2180 | #if defined(DX50) || defined(DX90) | ||
2181 | ,ID2P(LANG_USB_MODE_ADB) | ||
2182 | #endif | ||
2183 | ), | ||
2170 | #endif | 2184 | #endif |
2171 | }; | 2185 | }; |
2172 | 2186 | ||