diff --git a/code/espurna/main.cpp b/code/espurna/main.cpp index 1221aba5..e6a16206 100644 --- a/code/espurna/main.cpp +++ b/code/espurna/main.cpp @@ -114,7 +114,9 @@ void setup() { settingsSetup(); // Init hardware / software UART ports - uartSetup(); + #if UART_SUPPORT + uartSetup(); + #endif // Configure logger and crash recorder #if DEBUG_SUPPORT