30#ifndef SDLOG_CHIBIOS_H
31#define SDLOG_CHIBIOS_H
39#include "pprzlink/pprzlink_device.h"
48#define DEST_INFO_MSG_ALL 0
49#define DEST_INFO_MSG_FLIGHT_RECORDER 1
50#define DEST_INFO_MSG_PPRZLOG 2
54#if FLIGHTRECORDER_SDLOG
56extern FileDes flightRecorderLogFile;
79 default:
return "unknown error";
static FILE * pprzLogFile
void sdlog_chibios_finish(bool flush)
struct link_device device
Generic device interface.
void logger_log_msg_up(uint8_t *buf)
static const char * sdlog_error_string(SdioError error)
Human readable cause of a logger error, for the messages to the GCS.
void chibios_sdlog_init(struct chibios_sdlog *sdlog, FileDes *file)
init chibios_sdlog structure
void sdlog_chibios_init(void)
Linux (and NPS) replacement of the ChibiOS sdLog API.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.