From cf60c784a4aa2e32ef6ac0ebeff17c270cedf8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bc=2E=20Martin=20Kubov=C4=8D=C3=ADk?= <74611856+markub3327@users.noreply.github.com> Date: Sat, 7 Jan 2023 13:13:15 +0100 Subject: [PATCH] Update Servo.cpp --- src/mbed/Servo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbed/Servo.cpp b/src/mbed/Servo.cpp index efb67f9..507aa75 100644 --- a/src/mbed/Servo.cpp +++ b/src/mbed/Servo.cpp @@ -128,7 +128,7 @@ int Servo::readMicroseconds() if (!servos[this->servoIndex]) { return 0; } - return servos[this->servoIndex]->duration; + return servos[this->servoIndex]->duration + TRIM_DURATION; } bool Servo::attached()