修复无法修改wifi蓝牙参数

This commit is contained in:
OPTOC
2025-10-27 10:22:37 +08:00
parent 9754257a40
commit d54455dee9

View File

@@ -426,7 +426,8 @@ void resend_user_parse(void *resend_device)
switch(resend_parse->rx_frame.cmd) switch(resend_parse->rx_frame.cmd)
{ {
case RESEND_CMD_SET_PARAM: 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"); printf("RESEND_CMD_SET_PARAM len error\r\n");
} }