From d3a77da7be3808ce65448dbfa9d43d13ba9e0ecd Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 17 八月 2021 14:58:21 +0800 Subject: [PATCH] 增加基站状态输出,增加map表对比 --- 源码/核心板/Src/application/global_param.h | 11 ++++++++++- 1 files changed, 10 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..0bf484b 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,19 @@ #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 /*------------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