0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 15:08:37 +03:00

Fix can't compile with UART off.

This commit is contained in:
cloudwindy
2023-10-20 20:25:24 +08:00
parent 49cfd5a595
commit 7e4508436f
2 changed files with 4 additions and 0 deletions

2
main.c
View File

@ -65,7 +65,9 @@ void Main(void)
| SYSCON_DEV_CLK_GATE_AES_BITS_ENABLE;
SYSTICK_Init();
#ifdef ENABLE_UART
UART_Init();
#endif
BOARD_Init();
#if defined(ENABLE_UART)