1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

first extract from Tilting for Servo pull request

This commit is contained in:
Mauro Mombelli 2015-05-20 15:21:02 +02:00 committed by Dominic Clifton
parent 9277a8b7bf
commit da6ee6ffb7
5 changed files with 27 additions and 6 deletions

View file

@ -483,6 +483,8 @@ static void resetConf(void)
currentProfile->servoConf[i].max = DEFAULT_SERVO_MAX;
currentProfile->servoConf[i].middle = DEFAULT_SERVO_MIDDLE;
currentProfile->servoConf[i].rate = servoRates[i];
currentProfile->servoConf[i].minLimit = DEFAULT_SERVO_MIN_LIMIT;
currentProfile->servoConf[i].maxLimit = DEFAULT_SERVO_MAX_LIMIT;
currentProfile->servoConf[i].forwardFromChannel = CHANNEL_FORWARDING_DISABLED;
}