Fix call to older upload_tft()
This commit is contained in:
@@ -94,7 +94,8 @@ script:
|
|||||||
exit_reparse->execute();
|
exit_reparse->execute();
|
||||||
delay_seconds_(2);
|
delay_seconds_(2);
|
||||||
ESP_LOGV(TAG, "Calling upload from Nextion component");
|
ESP_LOGV(TAG, "Calling upload from Nextion component");
|
||||||
if (disp1->upload_tft()) id(restart_nspanel).press();
|
disp1->upload_tft();
|
||||||
|
id(restart_nspanel).press();
|
||||||
ESP_LOGD(TAG, "Turn off Nextion");
|
ESP_LOGD(TAG, "Turn off Nextion");
|
||||||
screen_power->turn_off();
|
screen_power->turn_off();
|
||||||
delay_seconds_(3);
|
delay_seconds_(3);
|
||||||
|
|||||||
Reference in New Issue
Block a user