Skip to content

Commit

Permalink
protocoldetector: lengthen line break for ping1d
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer authored and patrickelectric committed Feb 21, 2020
1 parent 55e995c commit 45e500f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sensor/protocoldetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool ProtocolDetector::checkSerial(LinkConfiguration& linkConf)

port.setBaudRate(baudrate);
port.setBreakEnabled(true);
QThread::usleep(500);
QThread::msleep(50);
port.setBreakEnabled(false);
QThread::msleep(11);
port.write("UUU");
Expand Down

0 comments on commit 45e500f

Please sign in to comment.