From 7fa44239c9467488c0b2e7a4f809d4faefd1901e Mon Sep 17 00:00:00 2001 From: zhaohe Date: Thu, 23 May 2024 15:54:35 +0800 Subject: [PATCH] update --- src/iflytop/components/zcanreceiver/zcanreceiverhost.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);