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:
parent
c38c0b7195
commit
40439a0ead
1 changed files with 2 additions and 3 deletions
|
|
@ -135,7 +135,6 @@ void get_modules(String)
|
|||
comPort->println("--END--");
|
||||
}
|
||||
|
||||
#ifndef UNIT_TEST
|
||||
void setup()
|
||||
{
|
||||
// initialise serial port
|
||||
|
|
@ -145,11 +144,11 @@ void setup()
|
|||
#endif
|
||||
|
||||
comPort = (HardwareSerial*) &PRIMARY_SERIAL_PORT;
|
||||
PRIMARY_SERIAL_PORT->begin(115200);
|
||||
PRIMARY_SERIAL_PORT.begin(115200);
|
||||
while (!PRIMARY_SERIAL_PORT)
|
||||
delay(1);
|
||||
#if defined(SECONDARY_SERIAL_PORT)
|
||||
SECONDARY_SERIAL_PORT->begin(115200);
|
||||
SECONDARY_SERIAL_PORT.begin(115200);
|
||||
while (!SECONDARY_SERIAL_PORT)
|
||||
delay(1);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue