fix(ble_ota): 修复OTA中止时状态机卡死问题

- 在ESP32 OTA失败收尾时,添加对协调器状态机的重置调用,
  防止m_sysState卡在ESP32_FINALIZING状态导致下次OTA被假拒绝

- 在ble_esp32_ota_abort函数中增加状态检查逻辑,
  确保在ESP32_RECEIVING或ESP32_FINALIZING状态下
  先通知协调器释放系统状态,再执行核心中止操作
This commit is contained in:
小龙虾
2026-06-19 03:30:31 +08:00
parent 7feef70750
commit 59c729d77a
2 changed files with 18 additions and 6 deletions
+4 -4
View File
@@ -4,11 +4,11 @@
// 固件版本
#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 3
#define FW_VERSION_PATCH 27
#define FW_VERSION_STRING "0.3.27"
#define FW_VERSION_PATCH 28
#define FW_VERSION_STRING "0.3.28"
// 编译时间
#define BUILD_TIME "2026-06-19 02:00:09"
#define BUILD_TIME "2026-06-19 03:24:28"
// Git 信息
#define GIT_HASH "41fee93"
#define GIT_HASH "7feef70"