26 #define PERIODIC_C_FLIGHTRECORDER
34 #if FLIGHTRECORDER_SDLOG
37 #ifndef FLIGHTRECORDER_DEVICE
38 #define FLIGHTRECORDER_DEVICE flightrecorder_sdlog
40 #warning "SD log is activated, but FLIGHTRECORDER_DEVICE is alreay set (should not be defined)"
48 #ifndef TELEMETRY_PROCESS_FlightRecorder
49 #error "You need to use a telemetry xml file with FlightRecorder process!"
54 #if FLIGHTRECORDER_SDLOG
61 #if FLIGHTRECORDER_SDLOG
63 if (flightRecorderLogFile == -1)
return;
66 #if PERIODIC_TELEMETRY
Periodic telemetry system header (includes downlink utility and generated code).
Initialize pprzlog transport.
void flight_recorder_init()
Init function.
void flight_recorder_periodic()
Periodic function.
#define DefaultPeriodic
Set default periodic telemetry.
Common code for AP and FBW telemetry.
void chibios_sdlog_init(struct chibios_sdlog *sdlog, FileDes *file)
init chibios_sdlog structure
struct pprzlog_transport pprzlog_tp
PPRZLOG transport structure.