1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

Merge pull request #2770 from limonspb/motor_dialogs_fix

Motor reorder and direction dialogs: hardcode throttle value to 6%
This commit is contained in:
Asizon 2022-01-27 07:43:02 +01:00 committed by GitHub
commit b14107822d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1148,10 +1148,11 @@ TABS.motors.initialize = function (callback) {
function setup_motor_output_reordering_dialog(callbackFunction, zeroThrottleValue)
{
const domDialogMotorOutputReorder = $('#dialogMotorOutputReorder');
const idleThrottleValue = zeroThrottleValue + 60;
const motorOutputReorderComponent = new MotorOutputReorderComponent($('#dialogMotorOutputReorderContent'),
callbackFunction, mixerList[FC.MIXER_CONFIG.mixer - 1].name,
zeroThrottleValue, zeroThrottleValue + 200);
zeroThrottleValue, idleThrottleValue);
$('#dialogMotorOutputReorder-closebtn').click(closeDialogMotorOutputReorder);
@ -1180,7 +1181,7 @@ TABS.motors.initialize = function (callback) {
{
const domEscDshotDirectionDialog = $('#escDshotDirectionDialog');
const idleThrottleValue = zeroThrottleValue + FC.PID_ADVANCED_CONFIG.digitalIdlePercent * 1000 / 100;
const idleThrottleValue = zeroThrottleValue + 60;
const motorConfig = {
numberOfMotors: self.numberOfValidOutputs,