From f5c123f6e78b25fb325c391a3c2ffeccf930f316 Mon Sep 17 00:00:00 2001
From: endian11 <Dana_Lee1016@126.com>
Date: 星期二, 29 九月 2020 15:55:10 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge into lowprecision

---
 lib/src/main/cpp/mcu/mcu_if.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/src/main/cpp/mcu/mcu_if.cpp b/lib/src/main/cpp/mcu/mcu_if.cpp
index 732db69..492cd4d 100644
--- a/lib/src/main/cpp/mcu/mcu_if.cpp
+++ b/lib/src/main/cpp/mcu/mcu_if.cpp
@@ -303,6 +303,10 @@
     switch (id) {
         case ID_MC_MCU_BOOT:
             DEBUG("MCU BOOT");
+            if (lenth == 8) {
+                PlatformStatusChanged(CAN_UPDATE_EVT, data, lenth);
+            }
+
             break;
         case ID_MC_DFU_RSP:
             DEBUG("ID_MC_DFU_RSP %d len %d", data[0], lenth);

--
Gitblit v1.8.0