异常判定在出错时才打印,检测时通信异常蜂鸣器响一声
取消一些通信日志打印
This commit is contained in:
@@ -36,7 +36,7 @@ void prot_m4::send_data_slot(myarray data)
|
||||
send_list.append(send);
|
||||
if(wait==0){
|
||||
wait+=2;
|
||||
qDebug("send m4:%s",data.data());
|
||||
// qDebug("send m4:%s",data.data());
|
||||
if_->write(send_list.takeFirst());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user