diff Common/Inc/settings.h @ 949:c6b858f2e025 Evo_2_23 tip

GNSS UTC in Date-Time menu: The UTC time provided by the gnss module is not shown in the date-time settings menu. If a valid time signal is available then the OSTC RTC may be set to it by selecting the UTC menu entry. The time zone has to be selected manually. This is possible using a separate edit line.
author Ideenmodellierer
date Sun, 22 Dec 2024 21:19:21 +0100
parents 608d3e918146
children
line wrap: on
line diff
--- a/Common/Inc/settings.h	Sun Dec 22 21:15:05 2024 +0100
+++ b/Common/Inc/settings.h	Sun Dec 22 21:19:21 2024 +0100
@@ -184,6 +184,14 @@
 	uint8_t Corrections;
 } SSettingsStatus;
 
+
+typedef struct
+{
+	int8_t hours;
+	uint8_t minutes;
+} StimeZone;
+
+
 /* SSettings
 	 * gas[0] and setpoint[0] are the special ones configurable during the dive
 	 */
@@ -314,6 +322,8 @@
 	uint8_t ext_sensor_map[8];		/* redefined in 0xFFFF0027 */
 	uint8_t cvAutofocus;
 	uint8_t slowExitTime;
+	/* new in 0xFFFF002c */
+	StimeZone timeZone;
 } SSettings;
 
 typedef struct