From fa4719dc5d0d463df55fabc56d353a4cac007dd6 Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期二, 25 二月 2025 17:55:38 +0800 Subject: [PATCH] 通过初步测试阶段,已经可以显示当前坐标,修改了蓝牙基站数量的逻辑。 --- keil/include/components/app/src/uci_tl_task.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/keil/include/components/app/src/uci_tl_task.c b/keil/include/components/app/src/uci_tl_task.c index 0db4d26..03258ae 100644 --- a/keil/include/components/app/src/uci_tl_task.c +++ b/keil/include/components/app/src/uci_tl_task.c @@ -87,7 +87,8 @@ if (count < UCI_MAX_UL_ITEMS) { - struct UCI_TL_MSG_T *p = WsfBufAlloc((uint16_t)(len + sizeof(struct UCI_TL_MSG_T))); + uint16_t up_data_len = (uint16_t)(len + sizeof(struct UCI_TL_MSG_T)); + struct UCI_TL_MSG_T *p = WsfBufAlloc(up_data_len); if (p != NULL) { @@ -97,8 +98,9 @@ } else { - LOG_INFO(TRACE_MODULE_UCI, "No buff to up queue\r\n"); + LOG_INFO(TRACE_MODULE_UCI, "No buff to up queue %u\r\n", up_data_len); } + // LOG_INFO(TRACE_MODULE_UCI, "HCI %02x %02x %02x %02x\r\n", buf[0], buf[1], buf[2], buf[3]); } else { -- Gitblit v1.9.3