summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2021-11-25 22:18:44 +0100
committerWolfram Sang <wsa@the-dreams.de>2022-02-07 22:04:10 +0100
commit95dfc489b5a602f68202b206c434f8485e9d3915 (patch)
treee19441973a90fa10d2f990de2ebb10459b713215 /apps/settings_list.c
parent5b8873bf333add9ec7208901c62bbd30ad7ea8c3 (diff)
downloadrockbox-95dfc489b5a602f68202b206c434f8485e9d3915.tar.gz
rockbox-95dfc489b5a602f68202b206c434f8485e9d3915.zip
sync clock with RDS time
Tested with my SansaClip+. I don't think this will need extra battery but let me know if I am wrong. Change-Id: I287dae134113e0f8a138af68f5087b8ea45b0f4c
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 7b24db22e5..aa2ebbf883 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1096,6 +1096,9 @@ const struct settings_list settings[] = {
false, "force fm mono", toggle_mono_mode),
SYSTEM_SETTING(NVRAM(4), last_frequency, 0),
#endif
+#if defined(HAVE_RDS_CAP) && defined(CONFIG_RTC)
+ OFFON_SETTING(0, sync_rds_time, LANG_FM_SYNC_RDS_TIME, false, "sync_rds_time", NULL),
+#endif
#if BATTERY_TYPES_COUNT > 1
CHOICE_SETTING(0, battery_type, LANG_BATTERY_TYPE, 0, "battery type",