广播命令已接收的回复不再触发回调
检测命令0x0c只能使用单播方式,广播方式因为不能即时回复停止信号,回复会出错 添加电阻测试命令,添加自检命令
This commit is contained in:
@@ -231,7 +231,7 @@ void can_host::recv_data_cb()
|
||||
|
||||
int can_host::write(int dst,myarray data)
|
||||
{
|
||||
// qDebug()<<"can send to:"<<dst<<data.toHex(' ');
|
||||
qDebug()<<"can send to:"<<dst<<data.toHex(' ');
|
||||
append(dst, 1, data);
|
||||
// qDebug("can send end.");
|
||||
return data.size();
|
||||
|
Reference in New Issue
Block a user