Auto commit at 2025-06-12 16:10:48

This commit is contained in:
cxh 2025-06-12 16:10:48 +08:00
parent db9f0d75ca
commit 29bbad2b81

View File

@ -101,7 +101,7 @@ void receiveHandler(const CANFrame &frame, void *userData)
publisher->publish(msg); publisher->publish(msg);
// 根据开关决定是否打印 CAN 消息 // 根据开关决定是否打印 CAN 消息
if (g_can_print_enable) if (g_can_print_enable && len > 0)
{ {
std::stringstream ss; std::stringstream ss;
ss << "CAN ID: "; ss << "CAN ID: ";