Browse Source

Update MarlinCore.cpp

pull/38/head
X-Dron 4 years ago
parent
commit
0196149b59
  1. 10
      Marlin/src/MarlinCore.cpp

10
Marlin/src/MarlinCore.cpp

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

Loading…
Cancel
Save