Skip to content

Commit 2a5e1ef

Browse files
authored
Merge pull request #912 from iNavFlight/dzikuvx-fix-outpts-dshot-frequency
Hide not needed motor update rate for DSHOT protocols
2 parents d4f22c5 + eb03f4f commit 2a5e1ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tabs/outputs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@ TABS.outputs.initialize = function (callback) {
101101
}
102102

103103
if (ADVANCED_CONFIG.motorPwmProtocol >= 5) {
104-
104+
$('.hide-for-shot').hide();
105105
$idleInfoBox.html(chrome.i18n.getMessage('throttleIdleDigitalInfo'));
106106
$idleInfoBox.addClass('ok-box');
107107
$idleInfoBox.show();
108108

109109
} else {
110+
$('.hide-for-shot').show();
110111
$idleInfoBox.html(chrome.i18n.getMessage('throttleIdleAnalogInfo'));
111112
$idleInfoBox.addClass('ok-box');
112113
$idleInfoBox.show();

0 commit comments

Comments
 (0)