Browse Source

update

master
zhaohe 1 year ago
parent
commit
7fa44239c9
  1. 3
      src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp

3
src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp

@ -33,6 +33,7 @@ shared_ptr<ZCanReceiverCMD> ZCanReceiverHost::sendcmdblock(shared_ptr<ZCanReceiv
return rx; return rx;
} }
} }
logger->warn("sendcmdblock(index {},cmd {},subcmd {}) fail,timeout", cmd->packetindex, cmd->cmdid, cmd->subcmdid);
return nullptr; return nullptr;
} }
@ -71,7 +72,7 @@ shared_ptr<ZCanReceiverCMD> ZCanReceiverHost::_sendcmdblock(shared_ptr<ZCanRecei
} }
if (!m_txContext.isReady) { if (!m_txContext.isReady) {
logger->warn("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; return nullptr;
} }
usleep(10 * 1000); usleep(10 * 1000);

Loading…
Cancel
Save