Skip to content

Commit 23bc145

Browse files
author
Neil Horne
authored
fix(cpn): Add back failsafe settings for protocols that support (#4220)
1 parent ecd4a43 commit 23bc145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

companion/src/modeledit/setup.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@ void ModulePanel::update()
565565
default:
566566
break;
567567
}
568+
569+
if (protocol != PULSES_MULTIMODULE && module.hasFailsafes(firmware))
570+
mask |= MASK_FAILSAFES;
568571
}
569572
else if (IS_HORUS_OR_TARANIS(board)) {
570573
if (model->trainerMode == TRAINER_MODE_SLAVE_JACK) {
@@ -574,9 +577,6 @@ void ModulePanel::update()
574577
else if (model->trainerMode != TRAINER_MODE_MASTER_JACK) {
575578
mask |= MASK_PPM_FIELDS | MASK_CHANNELS_RANGE | MASK_CHANNELS_COUNT;
576579
}
577-
else if (module.hasFailsafes(firmware)) {
578-
mask |= MASK_FAILSAFES;
579-
}
580580

581581
if (isExternalModule(moduleIdx))
582582
ui->telemetryBaudrate->setVisible(mask & MASK_BAUDRATE);

0 commit comments

Comments
 (0)