mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 21:05:28 +03:00
Update servo angles to match
https://github.com/cleanflight/cleanflight/pull/1573
This commit is contained in:
parent
1a58bfcf82
commit
509adcb6ff
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.
|
||||
|
|
|
@ -512,8 +512,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