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.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 936280ba5a..8ff006d682 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -458,6 +458,9 @@ struct user_settings unsigned char rfms_file[MAX_FILENAME+1]; /* last remote-fms */ #endif #endif /* CONFIG_TUNER */ +#if defined(HAVE_RDS_CAP) && defined(CONFIG_RTC) + bool sync_rds_time; /* use RDS time to set the clock */ +#endif /* misc options */ #ifndef HAVE_WHEEL_ACCELERATION -- cgit v1.2.3