不打印心跳日志
This commit is contained in:
parent
c4d8a4ada2
commit
0abe821352
2
main.c
2
main.c
@ -2419,7 +2419,7 @@ void *thread_uart_recv_back(void *arg){
|
||||
//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",
|
||||
parmAck,tagCodeHead,tagCode,tagSignal,totalLen,tagFeature,count,batteryV,version,ledCtrl,signCode,reserve,lableParm);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user