@@ -862,14 +862,18 @@ display:
|
||||
start_up_page: 0 # Boot page
|
||||
on_setup:
|
||||
lambda: |-
|
||||
nextion_init->publish_state(true);
|
||||
version_tft->update();
|
||||
goto_page->execute("boot");
|
||||
if (!id(is_uploading_tft)) {
|
||||
nextion_init->publish_state(true);
|
||||
version_tft->update();
|
||||
goto_page->execute("boot");
|
||||
}
|
||||
|
||||
on_page:
|
||||
lambda: |-
|
||||
if (current_page->state != page_names[x] or x == 9) {
|
||||
current_page->publish_state(page_names[x]);
|
||||
if (!id(is_uploading_tft)) {
|
||||
if (current_page->state != page_names[x] or x == 9) {
|
||||
current_page->publish_state(page_names[x]);
|
||||
}
|
||||
}
|
||||
|
||||
on_touch:
|
||||
|
||||
Reference in New Issue
Block a user