can_wizard/main/xvprintf.h

19 lines
410 B
C
Raw Permalink Normal View History

#ifndef MAIN_XVPRINTF_H
#define MAIN_XVPRINTF_H
#include "freertos/ringbuf.h"
typedef int (*print_func)(const char *fmt, ...);
2024-02-12 00:58:10 +00:00
extern RingbufHandle_t uart_tx_ringbuf;
extern bool timestamp_enabled;
void init_tx_ringbuf();
2023-11-24 04:16:58 +00:00
int vxprintf(const char *fmt, va_list args);
int xprintf(const char *fmt, ...);
int print_w_clr_time(char *msg, char *color, bool use_printf);
// functions
#endif // MAIN_XVPRINTF_H