Fix serial port redirection (index ≠ port num) (#16687)
This commit is contained in:
committed by
Scott Lahteine
parent
2325bede8a
commit
a0a93e35ae
@ -29,7 +29,7 @@ static const char errormagic[] PROGMEM = "Error:";
|
||||
static const char echomagic[] PROGMEM = "echo:";
|
||||
|
||||
#if NUM_SERIAL > 1
|
||||
int8_t serial_port_index = SERIAL_PORT;
|
||||
int8_t serial_port_index = 0;
|
||||
#endif
|
||||
|
||||
void serialprintPGM(PGM_P str) {
|
||||
|
Reference in New Issue
Block a user