fix(radio): Flex switch config not written to radio YAML file (#6581)
This commit is contained in:
@@ -2497,5 +2497,5 @@ bool switchIsActive(void* user, uint8_t* data, uint32_t bitoffs)
|
||||
{
|
||||
auto tw = reinterpret_cast<YamlTreeWalker*>(user);
|
||||
uint16_t idx = tw->getElmts();
|
||||
return idx < switchGetMaxSwitches();
|
||||
return idx < switchGetMaxAllSwitches();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user