Skip to content

Commit ce4ed0b

Browse files
committed
Hide Motor PWM Speed Separated from PID Speed when DSHOT selected
1 parent bd757f4 commit ce4ed0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tabs/configuration.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,16 +309,19 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
309309
esc_protocol_e.val(PID_ADVANCED_CONFIG.fast_pwm_protocol + 1);
310310

311311
esc_protocol_e.change(function () {
312+
//hide not used setting for DSHOT protocol
312313
if ($(this).val() - 1 >= self.DSHOT_PROTOCOL_MIN_VALUE) {
313314
$('div.minthrottle').hide();
314315
$('div.maxthrottle').hide();
315316
$('div.mincommand').hide();
317+
$('div.checkboxPwm').hide();
316318

317319
$('div.digitalIdlePercent').show();
318320
} else {
319321
$('div.minthrottle').show();
320322
$('div.maxthrottle').show();
321323
$('div.mincommand').show();
324+
$('div.checkboxPwm').show();
322325

323326
$('div.digitalIdlePercent').hide();
324327
}

0 commit comments

Comments
 (0)