Change back_page_id

Reduces a bit the memory in TFT
Simplify the process
Open space for more pages to be used
Not visible by users
This commit is contained in:
Edward Firmo
2023-12-19 09:59:42 +01:00
parent 32d969ed3e
commit 052fc9551c
19 changed files with 180 additions and 440 deletions

View File

@@ -4,6 +4,7 @@ Program.s
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
int back_page_id=0
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_entities=0,is_qrcode=0,is_notification=0
@@ -17,10 +18,4 @@ Program.s
{
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
}
printh 92
prints "currentpage",0
printh 00
prints "",0
printh 00
printh FF FF FF
page 8//Power on start page boot