修复无法修改wifi蓝牙参数
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user