mirror of
https://github.com/egzumer/uv-k5-firmware-custom
synced 2024-11-21 17:19:57 +00:00
serial debugging helper
This commit is contained in:
parent
c1657a37f2
commit
ac3cd08163
18
debugging.h
Normal file
18
debugging.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef DEBUGGING_H
|
||||
#define DEBUGGING_H
|
||||
|
||||
#include "driver/uart.h"
|
||||
#include "string.h"
|
||||
#include "external/printf/printf.h"
|
||||
|
||||
|
||||
static inline void LogUart(char * str)
|
||||
{
|
||||
UART_Send(str, strlen(str));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user