不打印心跳日志

This commit is contained in:
zzh 2026-01-13 11:38:06 +08:00
parent 19a3506080
commit 81ce05254e

2
main.c
View File

@ -2466,7 +2466,7 @@ void *thread_uart_recv_back(void *arg){
//LOG_I("After uart_data_receive_data_back call, ret: %d\n", parmAck); //LOG_I("After uart_data_receive_data_back call, ret: %d\n", parmAck);
// 只在有效数据且不是心跳时才打印 // 只在有效数据且不是心跳时才打印
if(tagCode != 0) { if(tagCode != 0 && tagFeature != 0xFF) {
LOG_I("recv_back:%04x,%04x,tag:%08x,%02x,%02x,%02x,%02x,battery:%02x,%04x,%02x,%04x,reserve:%04x,%08x\n", LOG_I("recv_back:%04x,%04x,tag:%08x,%02x,%02x,%02x,%02x,battery:%02x,%04x,%02x,%04x,reserve:%04x,%08x\n",
parmAck,tagCodeHead,tagCode,tagSignal,totalLen,tagFeature,count,batteryV,version,ledCtrl,signCode,reserve,lableParm); parmAck,tagCodeHead,tagCode,tagSignal,totalLen,tagFeature,count,batteryV,version,ledCtrl,signCode,reserve,lableParm);
} }