Remove SERIAL_PORT_2 code duplication
This commit is contained in:
@@ -1222,7 +1222,6 @@ void setup() {
|
||||
#endif
|
||||
#define SETUP_RUN(C) do{ SETUP_LOG(STRINGIFY(C)); C; }while(0)
|
||||
|
||||
MYSERIAL1.begin(BAUDRATE_2); // PATCH: Knutwurst
|
||||
millis_t serial_connect_timeout = millis() + 1000UL;
|
||||
while (!MYSERIAL1.connected() && PENDING(millis(), serial_connect_timeout)) { /*nada*/ }
|
||||
|
||||
|
Reference in New Issue
Block a user