Explorar o código

fix reboot bug

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui %!s(int64=5) %!d(string=hai) anos
pai
achega
0a535c4c94
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);