From d54455dee9354e6ca993163bdb9d47ba1fb21127 Mon Sep 17 00:00:00 2001 From: OPTOC <9159397+optoc@user.noreply.gitee.com> Date: Mon, 27 Oct 2025 10:22:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9wifi=E8=93=9D=E7=89=99=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/drivers/sertrf/sertrf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/drivers/sertrf/sertrf.c b/app/drivers/sertrf/sertrf.c index e9d8a7b..df03f5f 100644 --- a/app/drivers/sertrf/sertrf.c +++ b/app/drivers/sertrf/sertrf.c @@ -426,7 +426,8 @@ void resend_user_parse(void *resend_device) switch(resend_parse->rx_frame.cmd) { case RESEND_CMD_SET_PARAM: - if(sizeof(sertrf_stauct_t) != resend_parse->rx_frame.len) + // 减6的目的是因为华哥没对MAC进行处理,所以也不返回 + if(sizeof(sertrf_stauct_t) - 6 != resend_parse->rx_frame.len) { printf("RESEND_CMD_SET_PARAM len error\r\n"); }