From 96a63685fd53bd939772377296a9e732333e3748 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期一, 28 三月 2022 10:23:16 +0800 Subject: [PATCH] V2.47 可能有无法接收数据的bug --- 源码/核心板/Src/application/serial_at_cmd_app.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" index c942256..c18b902 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" @@ -6,15 +6,15 @@ #define MAX_FRAME_LEN 50 #define PWTAG_MAXGROUPNUM 20 -#define MAX_REGTAGNUM 100 +#define MAX_REGTAGNUM 10 struct tagpos_structure { - uint16_t tagid,baoxu; - int32_t pos[3]; + uint16_t tagid; + uint8_t datalen,data[30]; }; -extern struct tagpos_structure tagpos[50]; +extern struct tagpos_structure tagpos[10]; void UsartParseDataHandler(uint8_t data); struct pwtag_structure { @@ -23,7 +23,7 @@ }; struct regtag_structure { - uint8_t index,remain_time[PWTAG_MAXGROUPNUM]; + uint8_t index,remain_time[MAX_REGTAGNUM]; uint16_t tagid[MAX_REGTAGNUM],tag_frequency[MAX_REGTAGNUM],tag_slotpos[MAX_REGTAGNUM]; }; extern struct regtag_structure regtag_map; -- Gitblit v1.9.3