mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-24 23:24:12 +01:00
78 lines
4.0 KiB
Plaintext
78 lines
4.0 KiB
Plaintext
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
|
--- HMI/n2t-out/Program.s.txt 2022-04-13 19:28:22.560583074 +0000
|
|
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-04-13 19:28:23.344592433 +0000
|
|
@@ -11,6 +11,6 @@
|
|
// dim value
|
|
int dimValue=40
|
|
int dimValueNormal=100
|
|
- // fix touch offset
|
|
- lcd_dev fffb 0002 0000 0020
|
|
+ // fix touch offset (Removed for US version)
|
|
+ //lcd_dev fffb 0002 0000 0020
|
|
page pageStartup
|
|
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
|
--- HMI/n2t-out/pageStartup.txt 2022-04-13 19:28:22.560583074 +0000
|
|
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-04-13 19:28:23.344592433 +0000
|
|
@@ -177,7 +177,7 @@
|
|
recmod=1
|
|
bauds=115200
|
|
// startup event
|
|
- tSend.txt="event,startup,"+tVersion.txt+",eu"
|
|
+ tSend.txt="event,startup,"+tVersion.txt+",us-l"
|
|
//send calc crc
|
|
btlen tSend.txt,sys0
|
|
crcrest 1,0xffff // reset CRC
|
|
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
|
--- HMI/n2t-out/popupLight.txt 2022-04-13 19:28:22.560583074 +0000
|
|
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-04-13 19:28:23.344592433 +0000
|
|
@@ -570,43 +570,25 @@
|
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
|
udelete payloadLength-1
|
|
bufferPos=0
|
|
- if(tId.txt=="pageStartup")
|
|
- {
|
|
- page pageStartup
|
|
- }
|
|
- if(tId.txt=="screensaver")
|
|
- {
|
|
- page screensaver
|
|
- }
|
|
if(tId.txt=="cardEntities")
|
|
{
|
|
page cardEntities
|
|
}
|
|
- if(tId.txt=="cardGrid")
|
|
- {
|
|
- page cardGrid
|
|
- }
|
|
- if(tId.txt=="popupLight")
|
|
+ if(tId.txt=="cardMedia")
|
|
{
|
|
- pageIcons.tTmp1.txt=tTmp.txt
|
|
- page popupLight
|
|
+ page cardMedia
|
|
}
|
|
- if(tId.txt=="popupShutter")
|
|
+ if(tId.txt=="pageStartup")
|
|
{
|
|
- pageIcons.tTmp1.txt=tTmp.txt
|
|
- page popupShutter
|
|
+ page pageStartup
|
|
}
|
|
if(tId.txt=="popupNotify")
|
|
{
|
|
page popupNotify
|
|
}
|
|
- if(tId.txt=="cardThermo")
|
|
- {
|
|
- page cardThermo
|
|
- }
|
|
- if(tId.txt=="cardMedia")
|
|
+ if(tId.txt=="cardGrid")
|
|
{
|
|
- page cardMedia
|
|
+ page cardGrid
|
|
}
|
|
if(tId.txt=="cardAlarm")
|
|
{
|