diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-01-01 21:05:13 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-02-03 23:36:57 +0100 |
commit | 0a6cad736f6b4afe32df3eeb82c87e7108315983 (patch) | |
tree | 6b9a665670a69627f23871b6b86918121860688f /apps/menus | |
parent | 60c9df0b1211a4f519201b46ffd77e36bafe1759 (diff) |
FS#12353: For car adapter mode, make delay before resuming configurable
Original patch by Stanislav Chizhik
Udpated by Igor Poretsky & myself
Change-Id: I472d4852ac25885658245f077723e4c98b9ad9b8
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 41734a9a63..ca0ec91967 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -345,6 +345,9 @@ MENUITEM_SETTING(line_in, &global_settings.line_in, linein_callback); #endif #if CONFIG_CHARGING MENUITEM_SETTING(car_adapter_mode, &global_settings.car_adapter_mode, NULL); +MENUITEM_SETTING(car_adapter_mode_delay, &global_settings.car_adapter_mode_delay, NULL); +MAKE_MENU(car_adapter_mode_menu, ID2P(LANG_CAR_ADAPTER_MODE), 0, Icon_NOICON, + &car_adapter_mode, &car_adapter_mode_delay); #endif #ifdef IPOD_ACCESSORY_PROTOCOL MENUITEM_SETTING(serial_bitrate, &global_settings.serial_bitrate, NULL); @@ -424,7 +427,7 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), &line_in, #endif #if CONFIG_CHARGING - &car_adapter_mode, + &car_adapter_mode_menu, #endif #ifdef IPOD_ACCESSORY_PROTOCOL &serial_bitrate, |