فهرست منبع

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);