CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
log_sinks.c File Reference
#include "log/log.h"
#include "log/log_sinks.h"
#include "littlefs/lfs.h"
#include "littlefs/littlefs_helper.h"
#include "comms_drivers/comms_tx.h"
Include dependency graph for log_sinks.c:

Functions

void LOG_to_file (const char filename[], const char msg[])
 Sends a log message to a log file.
 
void LOG_to_umbilical_uart (const char msg[])
 Sends a log message to the umbilical UART.
 
void LOG_to_uhf_radio (const char msg[])
 Sends a log message to the UHF radio.
 

Variables

UART_HandleTypeDef hlpuart1
 
uint8_t LFS_is_lfs_mounted
 

Function Documentation

◆ LOG_to_file()

void LOG_to_file ( const char filename[],
const char msg[] )

Sends a log message to a log file.

Parameters
filenamefull path of the log file
msgThe message to be logged
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LOG_to_uhf_radio()

void LOG_to_uhf_radio ( const char msg[])

Sends a log message to the UHF radio.

Parameters
msgThe message to be logged
Returns
void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LOG_to_umbilical_uart()

void LOG_to_umbilical_uart ( const char msg[])

Sends a log message to the umbilical UART.

Parameters
msgThe message to be logged
Returns
void
Here is the caller graph for this function:

Variable Documentation

◆ hlpuart1

UART_HandleTypeDef hlpuart1
extern

◆ LFS_is_lfs_mounted

uint8_t LFS_is_lfs_mounted
extern