Mercurial > public > ostc4
comparison Discovery/Src/base.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 | f29369fff71e |
children |
comparison
equal
deleted
inserted
replaced
940:4a406e873a95 | 941:6d8ae8fbccf5 |
---|---|
569 #ifdef SIM_WRITES_LOGBOOK | 569 #ifdef SIM_WRITES_LOGBOOK |
570 if(stateUsed == stateSimGetPointer()) | 570 if(stateUsed == stateSimGetPointer()) |
571 logbook_InitAndWrite(stateUsed); | 571 logbook_InitAndWrite(stateUsed); |
572 #endif | 572 #endif |
573 if(stateUsed == stateRealGetPointer()) /* Handle log entries while in dive mode*/ | 573 if(stateUsed == stateRealGetPointer()) /* Handle log entries while in dive mode*/ |
574 logbook_InitAndWrite(stateUsed); | 574 logbook_InitAndWrite((SDiveState*)stateUsed); |
575 } | 575 } |
576 #ifdef T7_DEBUG_RUNTIME | 576 #ifdef T7_DEBUG_RUNTIME |
577 timeMainLoop = time_elapsed_ms(startTimeMainLoop, HAL_GetTick()); | 577 timeMainLoop = time_elapsed_ms(startTimeMainLoop, HAL_GetTick()); |
578 #endif | 578 #endif |
579 } | 579 } |