From 0a7ffb3c159918e1df3e0a2ab59c48e00cc48272 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 02 三月 2023 15:57:30 +0800 Subject: [PATCH] V2.53 修改UWB通讯标志位,适配2.56之后的标签。 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 6 +++--- 1 files changed, 3 insertions(+), 3 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 c18b902..4031769 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" @@ -4,17 +4,17 @@ #include "stm32f10x.h" -#define MAX_FRAME_LEN 50 +#define MAX_FRAME_LEN 55 #define PWTAG_MAXGROUPNUM 20 #define MAX_REGTAGNUM 10 struct tagpos_structure { uint16_t tagid; - uint8_t datalen,data[30]; + uint8_t datalen,data[MAX_FRAME_LEN]; }; -extern struct tagpos_structure tagpos[10]; +extern struct tagpos_structure tagpos[30]; void UsartParseDataHandler(uint8_t data); struct pwtag_structure { -- Gitblit v1.9.3