From 701755a24d798dabe9f604d71303a398356678b2 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期三, 08 九月 2021 20:06:42 +0800 Subject: [PATCH] 1 --- 源码/核心板/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