5 typedef struct statsConfig_s
{
6 uint32_t stats_total_time
; // [s]
7 uint32_t stats_total_dist
; // [m]
9 uint32_t stats_total_energy
; // deciWatt hour (x0.1Wh)
11 uint8_t stats_enabled
;
14 uint32_t getFlyingEnergy(void);
15 void statsOnArm(void);
16 void statsOnDisarm(void);
20 #define statsOnArm() do {} while (0)
21 #define statsOnDisarm() do {} while (0)