diff --git a/CommandLines.c b/CommandLines.c index 759074e..6d8dd3d 100644 --- a/CommandLines.c +++ b/CommandLines.c @@ -10,6 +10,7 @@ #include "math.h" #include "stdlib.h" #include "fc7xxx_driver_rgm.h" +#include "BootJump.h" int32_t CliCmd_baseCommandHelp(void *env, tCliCmd *cli) { @@ -24,7 +25,8 @@ int32_t CliCmd_baseCommandHelp(void *env, tCliCmd *cli) { } int32_t CliCmd_baseCommandReboot(void *env, tCliCmd *cli) { - NVIC_SystemReset(); + Reset(); + //NVIC_SystemReset(); return 0; }