fixed pageType command for popupLight page (add nextion2text)

This commit is contained in:
joBr99
2022-03-13 09:16:22 +00:00
committed by GitHub Actions
parent f097b767a5
commit 6fb86d8bb0
6 changed files with 35 additions and 18 deletions

View File

@@ -764,6 +764,10 @@ Timer tmSerial
//command format pageType,specialPageName
//write name of speical page to tId
spstr strCommand.txt,tId.txt,",",1
//save second arg if there's one
spstr strCommand.txt,tTmp.txt,",",2
//save third arg if there's one
spstr strCommand.txt,pageIcons.tTmp2.txt,",",3
if(tId.txt=="cardMedia")
{
//yay, we are already on the correct page
@@ -773,6 +777,11 @@ Timer tmSerial
udelete payloadLength-1
bufferPos=0
}
if(tId.txt=="popupLight")
{
pageIcons.tTmp1.txt=tTmp.txt
page popupLight
}
if(tId.txt=="cardEntities")
{
page cardEntities