mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-20 21:24:44 +01:00
fixes #933 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
e580333560
commit
652dd0b157
@@ -299,11 +299,6 @@ Timer tmSerial
|
||||
// sleep timeout
|
||||
spstr strCommand.txt,tTmp.txt,"~",10
|
||||
covx tTmp.txt,sys0,0,0
|
||||
if(sys0==0)
|
||||
{
|
||||
//0 is buggy, a years is permanent enough
|
||||
sys0=31536000
|
||||
}
|
||||
sleepTimeout=sys0
|
||||
//font size
|
||||
spstr strCommand.txt,tTmp.txt,"~",11
|
||||
@@ -357,7 +352,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,defaultFontColor,0,0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="timeout")
|
||||
if(tInstruction.txt=="timeout2")
|
||||
{
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
|
||||
Reference in New Issue
Block a user