Skip to content

Commit e1e6612

Browse files
committed
Revert "Update src/lib/motors/SmartServo.cpp" - previous commit causes build error a couple of lines down - my bad.
This reverts commit 1217b07.
1 parent 1217b07 commit e1e6612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib/motors/SmartServo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ float SmartServoClass::getPosition(uint8_t const id)
235235
return -1.0f;
236236

237237
mbed::ScopedLock<rtos::Mutex> lock(_mtx);
238-
int const position = readWordCmd(id, REG(SmartServoRegister::POSITION_H));
238+
int position = readWordCmd(id, REG(SmartServoRegister::POSITION_H));
239239

240240
// retry one more time
241241
if (position < 0) {

0 commit comments

Comments
 (0)