소스 검색

fix reboot bug

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 년 전
부모
커밋
0a535c4c94
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Application/app/iap.c

+ 1 - 0
Application/app/iap.c

@@ -57,6 +57,7 @@ void process_iap_message(can_frame_t *frame, int len){
 		case CAN_KEY_REBOOT:
 			shark_timer_post(&_reboot_timer, 100);
 			protocol_send_ack(frame->head.can_addr, frame->key, 1);
+			break;
 		case CAN_KET_ERASE_NV:
 			nv_erase();
 			shark_timer_post(&_reboot_timer, 100);