We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde3019 commit 7d9db22Copy full SHA for 7d9db22
src/js/tabs/setup.js
@@ -407,7 +407,7 @@ setup.initialize = function (callback) {
407
408
if (FC.SENSOR_CONFIG_ACTIVE.sonar_hardware == 0xFF) {
409
sensor_sonar_e.text(textNA);
410
- } else if (have_sensor(FC.CONFIG.activeSensors, "sonar") && FC.SENSOR_CONFIG_ACTIVE.sonar_hardware > 1) {
+ } else if (have_sensor(FC.CONFIG.activeSensors, "sonar") && FC.SENSOR_CONFIG_ACTIVE.sonar_hardware > 0) {
411
sensor_sonar_e.text(sonarElements[FC.SENSOR_CONFIG_ACTIVE.sonar_hardware]);
412
} else {
413
sensor_sonar_e.text(textDisabled);
0 commit comments