fix(radio): Flex switch config not written to radio YAML file (#6581)

This commit is contained in:
philmoz
2025-09-14 07:43:04 +10:00
committed by GitHub
parent a416a78d45
commit 311f805dae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1062,7 +1062,7 @@ PACK(struct RadioData {
CUST_ARRAY(slidersConfig, struct_sliderConfig, MAX_POTS, nullptr);
uint8_t stickInvert SKIP;
potconfig_t potsConfig ARRAY(4,struct_potConfig,nullptr);
switchDef switchConfig[MAX_SWITCHES] FUNC(switchIsActive) NO_IDX; \
switchDef switchConfig[MAX_SWITCHES] FUNC(switchIsActive) NO_IDX;
CUST_ARRAY(flexSwitches, struct_flexSwitch, MAX_FLEX_SWITCHES, flex_sw_valid);
EXTRA_GENERAL_FIELDS