comparison 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
comparison
equal deleted inserted replaced
940:4a406e873a95 941:6d8ae8fbccf5
4070 else 4070 else
4071 { 4071 {
4072 snprintf(text,60, 4072 snprintf(text,60,
4073 "\001%0.5f\n\r" 4073 "\001%0.5f\n\r"
4074 "\001%0.5f\n\r" 4074 "\001%0.5f\n\r"
4075 ,stateUsed->lifeData.gnssData.fLat ,stateUsed->lifeData.gnssData.fLon); 4075 ,stateUsed->lifeData.gnssData.coord.fLat ,stateUsed->lifeData.gnssData.coord.fLon);
4076 } 4076 }
4077 GFX_write_string(&FontT42, &t7cY0free, text, 1); 4077 GFX_write_string(&FontT42, &t7cY0free, text, 1);
4078 4078
4079 if(stateUsed->lifeData.gnssData.fixType < 2) /* draw status bars */ 4079 if(stateUsed->lifeData.gnssData.fixType < 2) /* draw status bars */
4080 { 4080 {