From 95dfc489b5a602f68202b206c434f8485e9d3915 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Thu, 25 Nov 2021 22:18:44 +0100 Subject: 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 --- apps/settings_list.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/settings_list.c') 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", -- cgit v1.2.3