Ubiquitous/RT-Thread_Fusion_XiUOS/: add reboot function
This commit is contained in:
parent
957fed83cf
commit
0c8a7f491d
|
@ -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