Remove ifndef

This appears to be unterminated - I don't understand
how it compiled before, but I'm removing it to get things working again.
This commit is contained in:
Richard Bowman 2023-02-22 12:12:21 +00:00
parent c38c0b7195
commit 40439a0ead

View file

@ -135,7 +135,6 @@ void get_modules(String)
comPort->println("--END--"); comPort->println("--END--");
} }
#ifndef UNIT_TEST
void setup() void setup()
{ {
// initialise serial port // initialise serial port
@ -145,11 +144,11 @@ void setup()
#endif #endif
comPort = (HardwareSerial*) &PRIMARY_SERIAL_PORT; comPort = (HardwareSerial*) &PRIMARY_SERIAL_PORT;
PRIMARY_SERIAL_PORT->begin(115200); PRIMARY_SERIAL_PORT.begin(115200);
while (!PRIMARY_SERIAL_PORT) while (!PRIMARY_SERIAL_PORT)
delay(1); delay(1);
#if defined(SECONDARY_SERIAL_PORT) #if defined(SECONDARY_SERIAL_PORT)
SECONDARY_SERIAL_PORT->begin(115200); SECONDARY_SERIAL_PORT.begin(115200);
while (!SECONDARY_SERIAL_PORT) while (!SECONDARY_SERIAL_PORT)
delay(1); delay(1);
#endif #endif