implement additional parameter on timeout for #746 (add nextion2text)

This commit is contained in:
joBr99
2023-02-03 17:56:23 +00:00
committed by github-actions[bot]
parent 1a42bde8cf
commit 108976da1b
22 changed files with 719 additions and 44 deletions

View File

@@ -883,6 +883,12 @@ 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")
{

View File

@@ -616,6 +616,12 @@ 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")
{

View File

@@ -1981,6 +1981,12 @@ 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

View File

@@ -966,6 +966,12 @@ 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

View File

@@ -597,6 +597,12 @@ 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")
{

View File

@@ -1250,6 +1250,12 @@ 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

View File

@@ -1011,6 +1011,12 @@ 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

View File

@@ -650,6 +650,12 @@ 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")
{

View File

@@ -1167,6 +1167,12 @@ 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