fix: Correctly reflect state of AUX1 when DEBUG build (#3814)

This commit is contained in:
Michael
2023-10-09 20:07:51 +10:00
committed by GitHub
parent 4485df77bb
commit c51c91401e
5 changed files with 24 additions and 6 deletions
+2 -1
View File
@@ -146,7 +146,8 @@ void boardInit()
__enable_irq();
#if defined(DEBUG)
serialInit(SP_AUX1, UART_MODE_DEBUG);
serialSetMode(SP_AUX1, UART_MODE_DEBUG); // indicate AUX1 is used
serialInit(SP_AUX1, UART_MODE_DEBUG); // early AUX1 init
#endif
TRACE("\nHorus board started :)");