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

Motor reorder and direction dialogs: hardcode throttle value to 6% for spinning

This commit is contained in:
Ivan Efimov 2022-01-25 03:16:16 -06:00
parent 83b2846a1d
commit f8fbf69e6e

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,