feat: Remove TR# mixsrc when trainer disabled (#2323)
* feat: Remove TR# mixsrc when trainer disabled When trainer mode is not enabled, there is no point showing the TR# mixer sources. Once you enable a trainer option, they will become visible again. * fix: Add missing "Input" check for B&W radios * fix(cpn): Trainer mode default is off * chore(cpn): If trainer mode off, hide TR/PPM srcs * (cpn) Refresh all source lists on change of trainer mode Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
co-authored by
elecpower
parent
41cfeee5b0
commit
3969b2b7e3
@@ -177,7 +177,7 @@ void ModelData::clear()
|
||||
for (unsigned i = 0; i < CPN_MAX_SENSORS; i++)
|
||||
sensorData[i].clear();
|
||||
|
||||
trainerMode = TRAINER_MODE_MASTER_JACK;
|
||||
trainerMode = TRAINER_MODE_OFF;
|
||||
|
||||
const char * layoutId = "Layout2P1"; // currently all using same default though might change for NV14
|
||||
RadioLayout::init(layoutId, customScreens);
|
||||
|
||||
Reference in New Issue
Block a user