comparison Discovery/Inc/logbook.h @ 1058:3c73180fde1d Icon_Integration tip

Added log entry for surface GF: The surface GF has been added to the logbook data. A function records the GF which is present while entering close to surface condition for later storage. This is needed to avoid that an already decreased GF (after dive mode exit time) GF is stored. The surface GF is shown at logbook page1 and is available in the header data for external logbook services.
author Ideenmodellierer
date Sat, 10 Jan 2026 19:53:01 +0100
parents b0d3e8b84966
children
comparison
equal deleted inserted replaced
1057:24c1e3367a2e 1058:3c73180fde1d
27 #ifndef LOGBOOK_H 27 #ifndef LOGBOOK_H
28 #define LOGBOOK_H 28 #define LOGBOOK_H
29 29
30 #include "data_central.h" 30 #include "data_central.h"
31 #include "settings.h" 31 #include "settings.h"
32
33 /* FW requirement for GF_Surf data entry */
34 #define GF_SURF_FW_FIRST (1)
35 #define GF_SURF_FW_SECOND (7)
36 #define GF_SURF_FW_THIRD (5)
32 37
33 typedef struct 38 typedef struct
34 { 39 {
35 uint8_t setpoint_cbar; 40 uint8_t setpoint_cbar;
36 uint8_t depth_meter; 41 uint8_t depth_meter;