comparison Discovery/Src/logbook_miniLive.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 7bd347bdaa81
children
comparison
equal deleted inserted replaced
940:4a406e873a95 941:6d8ae8fbccf5
365 else 365 else
366 { 366 {
367 ReplayDataOffset = StepBackwards; 367 ReplayDataOffset = StepBackwards;
368 logbook_getHeader(StepBackwards ,&logbookHeader); 368 logbook_getHeader(StepBackwards ,&logbookHeader);
369 369
370 dataLength = logbook_readSampleData(StepBackwards, DEPTH_DATA_LENGTH, ReplayDepthData,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ReplayMarkerData); 370 dataLength = logbook_readSampleData(StepBackwards, DEPTH_DATA_LENGTH, ReplayDepthData,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ReplayMarkerData);
371 371
372 /* check if a marker is provided. If not disable marker functionality for the replay block */ 372 /* check if a marker is provided. If not disable marker functionality for the replay block */
373 for(index = 0; index < dataLength; index++) 373 for(index = 0; index < dataLength; index++)
374 { 374 {
375 if(ReplayMarkerData[index] != 0) 375 if(ReplayMarkerData[index] != 0)