Try update at 921600bps first
This commit is contained in:
@@ -765,7 +765,7 @@ script:
|
|||||||
while (upload_tries < 5) {
|
while (upload_tries < 5) {
|
||||||
upload_tries++;
|
upload_tries++;
|
||||||
ESP_LOGD(TAG, "Try #%i", 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");
|
ESP_LOGD(TAG, "Turn off Nextion");
|
||||||
id(screen_power).turn_off();
|
id(screen_power).turn_off();
|
||||||
delay_seconds_(2);
|
delay_seconds_(2);
|
||||||
|
|||||||
Reference in New Issue
Block a user