mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
fix no uart compile bug
This commit is contained in:
parent
2a7dbc1e73
commit
a2b78a7b99
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
9
main.c
9
main.c
@ -48,11 +48,6 @@
|
||||
#include "ui/menu.h"
|
||||
#include "version.h"
|
||||
|
||||
void _putchar(char c)
|
||||
{
|
||||
UART_Send((uint8_t *)&c, 1);
|
||||
}
|
||||
|
||||
void Main(void)
|
||||
{
|
||||
unsigned int i;
|
||||
@ -95,6 +90,10 @@ void Main(void)
|
||||
|
||||
BK4819_Init();
|
||||
|
||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||
UART_printf("bk4819 id %04X rev %04X\r\n", BK4819_ReadRegister(0x00), BK4819_ReadRegister(0x01));
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_MDC1200
|
||||
mdc1200_init();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user