Skip to content

Commit cf60c78

Browse files
authored
Update Servo.cpp
1 parent d7e096f commit cf60c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mbed/Servo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int Servo::readMicroseconds()
128128
if (!servos[this->servoIndex]) {
129129
return 0;
130130
}
131-
return servos[this->servoIndex]->duration;
131+
return servos[this->servoIndex]->duration + TRIM_DURATION;
132132
}
133133

134134
bool Servo::attached()

0 commit comments

Comments
 (0)