mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Hide Esc Sensor for non digital protocols
Move to CSS white space Css Fixing
This commit is contained in:
parent
140509eea3
commit
8171d44bf5
4 changed files with 15 additions and 2 deletions
|
@ -78,7 +78,7 @@ var Features = function (config) {
|
|||
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
|
||||
features.push(
|
||||
{bit: 25, group: 'rxMode', mode: 'select', name: 'RX_SPI'},
|
||||
{bit: 27, group: 'esc', name: 'ESC_SENSOR'}
|
||||
{bit: 27, group: 'escSensor', name: 'ESC_SENSOR'}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -544,6 +544,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
$('div.unsyncedpwmfreq').toggle(!digitalProtocol);
|
||||
|
||||
$('div.digitalIdlePercent').toggle(digitalProtocol);
|
||||
$('.escSensor').toggle(digitalProtocol);
|
||||
|
||||
$('div.checkboxDshotBidir').toggle(semver.gte(CONFIG.apiVersion, "1.42.0") && digitalProtocol);
|
||||
$('div.motorPoles').toggle(semver.gte(CONFIG.apiVersion, "1.42.0"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue