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:
commit
c560eb59f9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue