Explorar o código

收到正确的配置后重启

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui %!s(int64=2) %!d(string=hai) anos
pai
achega
8e30cb66cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Applications/foc/commands.c

+ 1 - 1
Applications/foc/commands.c

@@ -500,7 +500,7 @@ static void process_foc_command(foc_cmd_body_t *command) {
 				if (!mc_conf_finish_recv(crc)) {
 					erroCode = FOC_CRC_Err;
 				}else {
-					//shark_timer_post(&_reboot_timer, 200);
+					shark_timer_post(&_reboot_timer, 200);
 				}
 			}else if (conf_cmd == 0) { //recv config data
 				int offset = decode_u16((u8 *)command->data+1);