Split UART_MODE_NONE and UART_MODE_DEBUG

This commit is contained in:
Raphael Coeffic
2022-03-20 16:30:59 +01:00
parent f95597a7ce
commit 6b9c4fe165
18 changed files with 25 additions and 65 deletions
+2 -5
View File
@@ -120,11 +120,8 @@ void boardInit()
__enable_irq();
#endif
#if defined(DEBUG) && defined(AUX_SERIAL)
auxSerialInit(UART_MODE_DEBUG, 0); // default serial mode (None if DEBUG not defined)
#endif
#if defined(DEBUG) && defined(AUX2_SERIAL)
aux2SerialInit(UART_MODE_DEBUG, 0); // default serial mode (None if DEBUG not defined)
#if defined(DEBUG)
serialInit(SP_AUX1, UART_MODE_DEBUG);
#endif
TRACE("\nNV14 board started :)");