removed thread

This commit is contained in:
ishak jmilou.ishak
2025-01-09 13:40:47 +01:00
parent ec2a08c656
commit 6ef739f794

View File

@@ -69,7 +69,6 @@ int CKobuki::connect(char *comportT) {
if (HCom == -1) { if (HCom == -1) {
std::cerr <<"unable to connect. retry in 1 second" << std::endl; std::cerr <<"unable to connect. retry in 1 second" << std::endl;
std::this_thread::sleep_for(std::chrono::seconds(1));
return HCom; return HCom;
} else { } else {
set_interface_attribs2(HCom, B115200,0); // set speed to 115,200 bps, 8n1 (no parity) set_interface_attribs2(HCom, B115200,0); // set speed to 115,200 bps, 8n1 (no parity)