From 2cfc22e1ea5140861499ee5b7142766fb8f754f7 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期二, 29 九月 2020 15:53:20 +0800
Subject: [PATCH] 坐标
---
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