Sfoglia il codice sorgente

收到正确的配置后重启

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 2 anni fa
parent
commit
8e30cb66cb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);