forked from xuos/xiuos
Ubiquitous/RT-Thread_Fusion_XiUOS/: add reboot function
This commit is contained in:
parent
f3d7e7e3d4
commit
3c69cb8d14
|
@ -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);
|
Loading…
Reference in New Issue