mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-26 06:02:14 +01:00
revert changes to timeout command (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
11251950b9
commit
32d7a1c6d8
@@ -883,12 +883,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
|
||||
@@ -616,12 +616,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
|
||||
@@ -1981,12 +1981,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -966,12 +966,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -597,12 +597,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
|
||||
@@ -1250,12 +1250,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -1011,12 +1011,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -650,12 +650,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
|
||||
@@ -1167,12 +1167,6 @@ Timer tmSerial
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
Reference in New Issue
Block a user