We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0362ec5 commit 7eef3f1Copy full SHA for 7eef3f1
src/lib/motors/SmartServo.cpp.impl
@@ -63,7 +63,7 @@ template <int MAX_MOTORS> void SmartServoClass<MAX_MOTORS>::receiveResponse(int
63
_rxLen=0;
64
memset(_rxBuf, 0, sizeof(_rxBuf));
65
long start = millis();
66
- while ((millis() - start < 100) && (_rxLen < howMany)) {
+ while ((millis() - start < howMany) && (_rxLen < howMany)) { // timeout_min = 70uS * howMany
67
if (_RS485.available()) {
68
uint8_t c = _RS485.read();
69
//Serial.print(c, HEX);
0 commit comments