Explorar el Código

fix reboot bug

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui hace 5 años
padre
commit
0a535c4c94
Se han modificado 1 ficheros con 1 adiciones y 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);