Mercurial > public > ostc4
diff Discovery/Src/t7.c @ 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/Discovery/Src/t7.c Thu Dec 12 21:12:07 2024 +0100 +++ b/Discovery/Src/t7.c Mon Dec 16 19:06:37 2024 +0100 @@ -4072,7 +4072,7 @@ snprintf(text,60, "\001%0.5f\n\r" "\001%0.5f\n\r" - ,stateUsed->lifeData.gnssData.fLat ,stateUsed->lifeData.gnssData.fLon); + ,stateUsed->lifeData.gnssData.coord.fLat ,stateUsed->lifeData.gnssData.coord.fLon); } GFX_write_string(&FontT42, &t7cY0free, text, 1);