1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

fix motor stop on low preset

This commit is contained in:
shota 2023-10-21 00:51:50 +09:00
parent e1c217f0d0
commit 31d05169d4
2 changed files with 10 additions and 8 deletions

View file

@ -822,10 +822,6 @@ helper.defaultsDialog = (function () {
key: "nav_fw_launch_climb_angle",
value: 25
},
{
key: "motorstop_on_low",
value: "ON"
},
],
},
{
@ -1039,10 +1035,6 @@ helper.defaultsDialog = (function () {
key: "nav_fw_launch_climb_angle",
value: 25
},
{
key: "motorstop_on_low",
value: "ON"
},
],
},
{
@ -1201,6 +1193,7 @@ helper.defaultsDialog = (function () {
MIXER_CONFIG.platformType = currentMixerPreset.platform;
MIXER_CONFIG.appliedMixerPreset = selectedDefaultPreset.mixerToApply;
MIXER_CONFIG.motorStopOnLow = (currentMixerPreset.motorStopOnLow === true) ? true : false;
MIXER_CONFIG.hasFlaps = (currentMixerPreset.hasFlaps === true) ? true : false;
SERVO_RULES.cleanup();