forked from xuos/xiuos
Ubiquitous/RT-Thread_Fusion_XiUOS/: add reboot function
This commit is contained in:
@@ -1093,3 +1093,10 @@ void rt_hw_us_delay(rt_uint32_t usec)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
static int reboot(void)
|
||||
{
|
||||
NVIC_SystemReset();
|
||||
return 0;
|
||||
}
|
||||
MSH_CMD_EXPORT(reboot, reboot system);
|
||||
Reference in New Issue
Block a user