mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
uart update
This commit is contained in:
@ -113,9 +113,8 @@ void UART_LogSendText(const void *str)
|
||||
UART_Send(str, strlen(str));
|
||||
}
|
||||
|
||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||
void UART_printf(const char *str, ...)
|
||||
{
|
||||
void UART_printf(const char *str, ...)
|
||||
{
|
||||
char text[256];
|
||||
int len;
|
||||
|
||||
@ -126,5 +125,4 @@ void UART_LogSendText(const void *str)
|
||||
|
||||
UART_Send(text, len);
|
||||
//UART_Send(text, strlen(text));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -27,9 +27,7 @@ void UART_Send(const void *pBuffer, uint32_t Size);
|
||||
void UART_SendText(const void *str);
|
||||
void UART_LogSend(const void *pBuffer, uint32_t Size);
|
||||
void UART_LogSendText(const void *str);
|
||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||
void UART_printf(const char *str, ...);
|
||||
#endif
|
||||
void UART_printf(const char *str, ...);
|
||||
|
||||
#endif
|
||||
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user