1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Merge pull request #6499 from avsaase/avs-servo-middle-init

Servo midpoint as first servo command on initialization
This commit is contained in:
Konstantin Sharlaimov 2021-01-14 12:24:42 +01:00 committed by GitHub
commit c560eb59f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ void servosInit(void)
{
// give all servos a default command
for (int i = 0; i < MAX_SUPPORTED_SERVOS; i++) {
servo[i] = DEFAULT_SERVO_MIDDLE;
servo[i] = servoParams(i)->middle;
}
/*