summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c4
-rw-r--r--apps/settings_list.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index b72808b510..59cb480c95 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1025,6 +1025,10 @@ void settings_apply(bool read_disk)
usb_charging_enable(global_settings.usb_charging);
#endif
+#ifdef HAVE_USB_POWER
+ usb_set_mode(global_settings.usb_mode);
+#endif
+
#ifdef HAVE_TOUCHSCREEN
touchscreen_set_mode(global_settings.touch_mode);
memcpy(&calibration_parameters, &global_settings.ts_calibration_data, sizeof(struct touchscreen_parameter));
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 17720b5145..71085906ce 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -2161,7 +2161,7 @@ const struct settings_list settings[] = {
CHOICE_SETTING(0,
usb_mode,
LANG_USB_MODE,
- USB_MODE_MASS_STORAGE,
+ USBMODE_DEFAULT,
"usb mode",
"ask,mass storage,charge"
#if defined(DX50) || defined(DX90)