fifo_init(&serialFIFO, serialBuffer, CONFIG_UART_BUFFER_SIZE);
Serial.begin(serial_baudrate);
- #if BOARD_MODEL != BOARD_RAK4631
- #if BOARD_MODEL != BOARD_RNODE_NG_22
++
++ #if BOARD_MODEL != BOARD_RAK4631 && BOARD_MODEL != BOARD_RNODE_NG_22
+ // Some boards need to wait until the hardware UART is set up before booting
+ // the full firmware. In the case of the RAK4631, the line below will wait
+ // until a serial connection is actually established with a master. Thus, it
+ // is disabled on this platform.
- while (!Serial);
+ while (!Serial);
#endif
serial_interrupt_init();