diff Common/Inc/data_central.h @ 941:6d8ae8fbccf5 Evo_2_23

Added gnss to logbook data: The gnss position is now available in the logbook. It is stored as event (7:2) at the start of the dive. The position will be shown in the logbook page 1 in the top middle position.
author Ideenmodellierer
date Mon, 16 Dec 2024 19:06:37 +0100
parents 4a406e873a95
children
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Thu Dec 12 21:12:07 2024 +0100
+++ b/Common/Inc/data_central.h	Mon Dec 16 19:06:37 2024 +0100
@@ -169,6 +169,11 @@
 {
 	float fLat;
 	float fLon;
+}SGnssCoord;
+
+typedef struct
+{
+	SGnssCoord coord;
 	uint8_t alive;
 	uint8_t fixType;
 	uint8_t numSat;			/* number of available satellites */
@@ -312,6 +317,8 @@
 	int16_t info_bailoutO2;
     int16_t compassHeadingUpdate;
     uint16_t info_compassHeadingUpdate;
+    int16_t gnssPositionUpdate;
+    SGnssCoord info_gnssPosition;
 } SEvents;