mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 02:48:54 +00:00
v1.0.3
This commit is contained in:
@@ -20,13 +20,17 @@
|
||||
|
||||
static int do_reset_boot(int argc, char *argv[])
|
||||
{
|
||||
#ifdef AIC_WDT_DRV
|
||||
wdt_init();
|
||||
printf("Going to reboot ...\n");
|
||||
#endif
|
||||
#ifdef AIC_WRI_DRV
|
||||
aic_set_reboot_reason(REBOOT_REASON_CMD_REBOOT);
|
||||
#endif
|
||||
#ifdef AIC_WDT_DRV
|
||||
wdt_expire_now();
|
||||
while(1);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user