feat: Remove MPM "No Telemetry" option on non-FrSky radio (#3637)

* Remove MPM no telemetry GUI on non FrSky radio

* chore: bw212 may not always be frsky

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
3djc
2023-07-16 14:46:22 +10:00
committed by GitHub
co-authored by Peter Feerick
parent bd92f70056
commit 8325f722c4
4 changed files with 18 additions and 8 deletions
+2
View File
@@ -338,10 +338,12 @@ MultimoduleSettings::MultimoduleSettings(Window *parent,
new StaticText(line, rect_t{}, STR_MULTI_LOWPOWER, 0, COLOR_THEME_PRIMARY1);
lp_mode = new CheckBox(line, rect_t{}, GET_SET_DEFAULT(md->multi.lowPowerMode));
#if defined(MANUFACTURER_FRSKY)
// Disable telemetry
line = newLine(&grid);
new StaticText(line, rect_t{}, STR_DISABLE_TELEM, 0, COLOR_THEME_PRIMARY1);
disable_telem = new CheckBox(line, rect_t{}, GET_SET_DEFAULT(md->multi.disableTelemetry));
#endif
cm_line = new MPMChannelMap(this, &grid, moduleIdx);