diff --git a/HMI/code_gen/pages/shared.py b/HMI/code_gen/pages/shared.py index 63abdef4..9a42b21e 100644 --- a/HMI/code_gen/pages/shared.py +++ b/HMI/code_gen/pages/shared.py @@ -55,6 +55,7 @@ sharedfoot = """ spstr strCommand.txt,tTmp.txt,"~",2 //save third arg if there's one spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3 + spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4 //we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ... udelete payloadLength-1 bufferPos=0 @@ -104,6 +105,10 @@ sharedfoot = """ { page cardQR } + if(tId.txt=="cardPower") + { + page cardPower + } } if(tInstruction.txt=="time") { diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index 53d8a183..a59e8dfd 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index 5642e52b..f3beacd8 100644 Binary files a/HMI/nspanel.tft and b/HMI/nspanel.tft differ