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/settings_list.c | |
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/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 45434d1859..027ed6a87c 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1061,6 +1061,9 @@ const struct settings_list settings[] = { #if CONFIG_CHARGING OFFON_SETTING(NVRAM(1), car_adapter_mode, LANG_CAR_ADAPTER_MODE, false, "car adapter mode", NULL), + INT_SETTING_NOWRAP(0, car_adapter_mode_delay, LANG_CAR_ADAPTER_MODE_DELAY, + 5, "delay before resume", UNIT_SEC, 5, 30, 5, + NULL, NULL, NULL), #endif #ifdef IPOD_ACCESSORY_PROTOCOL CHOICE_SETTING(0, serial_bitrate, LANG_SERIAL_BITRATE, 0, "serial bitrate", |