Split wakeup_page_id from back_page_id

Solves #1947 and makes the whole wake-up engine more reliable.
This commit is contained in:
Edward Firmo
2024-03-22 10:45:35 +01:00
parent d35c2a77ba
commit dbf57053db
28 changed files with 23 additions and 16 deletions

View File

@@ -7,6 +7,7 @@ Program.s
int is_buttonpage01=0, is_buttonpage02=0, is_buttonpage03=0, is_buttonpage04=0
int is_entitypage01=0, is_entitypage02=0, is_entitypage03=0, is_entitypage04=0
int back_page_id=1
int wakeup_page_id=1
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_utilities=0

View File

@@ -96,7 +96,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.3.1
Text : 4.3.2d1
Max. Text Size : 9
Text esph_version

View File

@@ -23,7 +23,7 @@ Page screensaver
printh FF FF FF
Touch Release Event
page back_page_id
page wakeup_page_id
Text text
Attributes
@@ -69,7 +69,7 @@ TouchCap wakeup
Events
Touch Press Event
page back_page_id
page wakeup_page_id
TouchCap swipe
Attributes