现在在做一个项目,希望路由节点可以软件重启,使用SystemReset()这个函数一直无法重启成功,但是终端节点可以使用这个函数重启,这个在哪里可以设置,让路由节点也可以软件重启
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
现在在做一个项目,希望路由节点可以软件重启,使用SystemReset()这个函数一直无法重启成功,但是终端节点可以使用这个函数重启,这个在哪里可以设置,让路由节点也可以软件重启
| // Restart system from absolute beginning | |
| // Disables interrupts, forces WatchDog reset | |
| #define SystemReset() \ | |
| { \ | |
| HAL_DISABLE_INTERRUPTS(); \ | |
| HAL_SYSTEM_RESET(); \ | |
| } |
SystemReset是可以重启路由器的