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 1217b07 commit e1e6612Copy full SHA for e1e6612
src/lib/motors/SmartServo.cpp
@@ -235,7 +235,7 @@ float SmartServoClass::getPosition(uint8_t const id)
235
return -1.0f;
236
237
mbed::ScopedLock<rtos::Mutex> lock(_mtx);
238
- int const position = readWordCmd(id, REG(SmartServoRegister::POSITION_H));
+ int position = readWordCmd(id, REG(SmartServoRegister::POSITION_H));
239
240
// retry one more time
241
if (position < 0) {
0 commit comments