diff --git a/src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp b/src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp index 8cbfc3d..4d3a543 100644 --- a/src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp +++ b/src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp @@ -33,6 +33,7 @@ shared_ptr ZCanReceiverHost::sendcmdblock(shared_ptrwarn("sendcmdblock(index {},cmd {},subcmd {}) fail,timeout", cmd->packetindex, cmd->cmdid, cmd->subcmdid); return nullptr; } @@ -71,7 +72,7 @@ shared_ptr ZCanReceiverHost::_sendcmdblock(shared_ptrwarn("sendcmdblock(index {},cmd {},subcmd {}) fail,timeout", cmd->packetindex, cmd->cmdid, cmd->subcmdid); + logger->warn("try sendcmdblock(index {},cmd {},subcmd {}) fail,timeout", cmd->packetindex, cmd->cmdid, cmd->subcmdid); return nullptr; } usleep(10 * 1000);