Split UART_MODE_NONE and UART_MODE_DEBUG
This commit is contained in:
@@ -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 :)");
|
||||
|
||||
Reference in New Issue
Block a user