Browse Source

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

yuchuli 3 years ago
parent
commit
ba408c9dfe
1 changed files with 1 additions and 1 deletions
  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;