mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Update servo angles to match
https://github.com/cleanflight/cleanflight/pull/1573
This commit is contained in:
parent
fb5d2678b6
commit
66034a1831
2 changed files with 4 additions and 4 deletions
|
@ -478,8 +478,8 @@ function configuration_restore(callback) {
|
|||
for (var i = 0; i < configuration.profiles[profileIndex].ServoConfig.length; i++) {
|
||||
var servoConfig = profiles[profileIndex].ServoConfig;
|
||||
|
||||
servoConfig[i].angleAtMin = 90;
|
||||
servoConfig[i].angleAtMax = 90;
|
||||
servoConfig[i].angleAtMin = 45;
|
||||
servoConfig[i].angleAtMax = 45;
|
||||
servoConfig[i].reversedInputSources = 0;
|
||||
|
||||
// set the rate to 0 if an invalid value is detected.
|
||||
|
|
|
@ -507,8 +507,8 @@ var MSP = {
|
|||
'max': data.getInt16(i + 2, 1),
|
||||
'middle': data.getInt16(i + 4, 1),
|
||||
'rate': data.getInt8(i + 6),
|
||||
'angleAtMin': 90,
|
||||
'angleAtMax': 90,
|
||||
'angleAtMin': 45,
|
||||
'angleAtMax': 45,
|
||||
'indexOfChannelToForward': undefined,
|
||||
'reversedInputSources': 0
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue