From 8ce130f6cc614e60783c162153dc438ee43ad460 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期五, 17 九月 2021 16:52:43 +0800
Subject: [PATCH]  V2.26

---
 源码/核心板/Src/application/global_param.h |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
index ed8dc4c..9f3dbcc 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
@@ -56,10 +56,20 @@
 
 #define 	ANC_FLAG							0x100
 
+
+
+
+///////////////////STATE MAP/////////////////
+#define SM_RESTART      1
+#define SM_UPDATE       2
+#define SM_UPDATEFAIL   3
+#define SM_BOOTFAIL     4
+#define SM_MAPERROR     5
+#define SM_REBOOT       6
 /*------------END Map Definition-------------------*/
 
 
-extern uint16_t g_com_map[COM_MAP_SIZE];
+extern uint16_t g_com_map[COM_MAP_SIZE],g_com_map2[COM_MAP_SIZE];
 
 extern uint32_t save_com_map_to_flash(void);
 extern void parameter_init(void);

--
Gitblit v1.9.3