⚒️ Enables bigger range of motion for servo controller

This commit is contained in:
Rune Harlyk
2025-03-23 16:25:46 +01:00
parent 967923321f
commit ad2d28c9ba
@@ -103,7 +103,7 @@ class ServoController : public StatefulService<ServoSettings> {
auto &servo = state().servos[i];
float angle = servo.direction * angles[i] + servo.centerAngle;
uint16_t pwm = angle * servo.conversion + servo.centerPwm;
if (pwm < 125 || pwm > 600) {
if (pwm < 105 || pwm > 600) {
ESP_LOGE("ServoController", "Servo %d, Invalid PWM value %d", i, pwm);
continue;
}