|
|
@ -988,11 +988,11 @@ void setup() { |
|
|
|
uint32_t serial_connect_timeout = millis() + 1000UL; |
|
|
|
while (!MYSERIAL0 && PENDING(millis(), serial_connect_timeout)) { /*nada*/ } |
|
|
|
#if HAS_MULTI_SERIAL |
|
|
|
#if ENABLED(MKS_WIFI) |
|
|
|
MYSERIAL1.begin(MKS_WIFI_BAUDRATE); |
|
|
|
#else |
|
|
|
MYSERIAL1.begin(BAUDRATE); |
|
|
|
#endif |
|
|
|
#if ENABLED(MKS_WIFI) |
|
|
|
MYSERIAL1.begin(MKS_WIFI_BAUDRATE); |
|
|
|
#else |
|
|
|
MYSERIAL1.begin(BAUDRATE); |
|
|
|
#endif |
|
|
|
serial_connect_timeout = millis() + 1000UL; |
|
|
|
while (!MYSERIAL1 && PENDING(millis(), serial_connect_timeout)) { /*nada*/ } |
|
|
|
#endif |
|
|
|