瀏覽代碼

change driver_can_socket. for use 1 thread send, and use waitcondition.

yuchuli 3 年之前
父節點
當前提交
ba408c9dfe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/driver/driver_can_socket/nvcan.cpp

+ 1 - 1
src/driver/driver_can_socket/nvcan.cpp

@@ -321,7 +321,7 @@ void nvcan::threadsend()
                         }
                         else
                         {
-                            std::cout<<"retry more than 10ms"<<std::endl;
+                            std::cout<<"retry more than 100. drop this message."<<std::endl;
                         }
                          std::this_thread::sleep_for(std::chrono::microseconds(100));
  //                       std::cout<<"retry send."<<std::endl;