|
@ -965,7 +965,6 @@ void setup() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if NUM_SERIAL > 0 |
|
|
|
|
|
MYSERIAL0.begin(USB_BAUDRATE); |
|
|
MYSERIAL0.begin(USB_BAUDRATE); |
|
|
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*/ } |
|
@ -975,7 +974,6 @@ void setup() { |
|
|
while (!MYSERIAL1 && PENDING(millis(), serial_connect_timeout)) { /*nada*/ } |
|
|
while (!MYSERIAL1 && PENDING(millis(), serial_connect_timeout)) { /*nada*/ } |
|
|
#endif |
|
|
#endif |
|
|
SERIAL_ECHO_MSG("start"); |
|
|
SERIAL_ECHO_MSG("start"); |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if BOTH(HAS_TFT_LVGL_UI, USE_WIFI_FUNCTION) |
|
|
#if BOTH(HAS_TFT_LVGL_UI, USE_WIFI_FUNCTION) |
|
|
mks_esp_wifi_init(); |
|
|
mks_esp_wifi_init(); |
|
|