add selfcheck protect

if error happens when selfcheck, exit
This commit is contained in:
Agnel Wang 2022-11-15 17:41:53 +08:00
parent 861dc8182c
commit 7c768a0e52
3 changed files with 1 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -124,6 +124,7 @@ int main(int argc, char **argv){
usleep(100000); usleep(100000);
} }
delete fsm;
delete ctrlComp; delete ctrlComp;
return 0; return 0;
} }