Try update at 921600bps first

This commit is contained in:
Edward Firmo
2023-12-04 22:49:44 +01:00
parent a0a17bcfa1
commit cf4d0f9393

View File

@@ -765,7 +765,7 @@ script:
while (upload_tries < 5) {
upload_tries++;
ESP_LOGD(TAG, "Try #%i", upload_tries);
if (upload_tft_(url, id(tf_uart).get_baud_rate())) id(restart_nspanel).press();
if (upload_tft_(url, 921600)) id(restart_nspanel).press();
ESP_LOGD(TAG, "Turn off Nextion");
id(screen_power).turn_off();
delay_seconds_(2);