添加单独注码命令,实现检测时注码

This commit is contained in:
andy
2023-10-15 20:59:21 +08:00
parent fda9545130
commit 35f6597d97
9 changed files with 129 additions and 61 deletions

View File

@@ -193,6 +193,7 @@ static int sysinfo(list_def *argv)
cmd_print("startup: %s",bk_get_currtype());
cmd_print("watch dog: %s",bk_wdog_fun()?"on":"off");
cmd_print("reboot times: %d",bk_reboot_times());
cmd_print("bootloader: %s",(bk_check_magic_num()==0)?"ok":"err");
print_sys_param(par);
return 0;
}