allow empty type as alternative for delete (add nextion2text)

This commit is contained in:
joBr99
2022-03-26 00:28:30 +00:00
committed by GitHub Actions
parent 9b6c566dd5
commit 1e2a7bc2ca
2 changed files with 5 additions and 5 deletions

View File

@@ -1800,7 +1800,7 @@ Timer tmSerial
spstr strCommand.txt,type1.txt,",",1
// get internal name
spstr strCommand.txt,entn1.txt,",",2
if(type1.txt=="delete")
if(type1.txt=="delete"||type1.txt=="")
{
vis bUp1,0
vis bStop1,0
@@ -1887,7 +1887,7 @@ Timer tmSerial
spstr strCommand.txt,type2.txt,",",7
// get internal name
spstr strCommand.txt,entn2.txt,",",8
if(type2.txt=="delete")
if(type2.txt=="delete"||type2.txt=="")
{
vis bUp2,0
vis bStop2,0
@@ -1974,7 +1974,7 @@ Timer tmSerial
spstr strCommand.txt,type3.txt,",",13
// get internal name
spstr strCommand.txt,entn3.txt,",",14
if(type3.txt=="delete")
if(type3.txt=="delete"||type3.txt=="")
{
vis bUp3,0
vis bStop3,0
@@ -2061,7 +2061,7 @@ Timer tmSerial
spstr strCommand.txt,type4.txt,",",19
// get internal name
spstr strCommand.txt,entn4.txt,",",20
if(type4.txt=="delete")
if(type4.txt=="delete"||type4.txt=="")
{
vis bUp4,0
vis bStop4,0

View File

@@ -59,4 +59,4 @@ Total
13 Page(s)
330 Component(s)
3043 Line(s) of event code
812 Unique line(s) of event code
808 Unique line(s) of event code