I have a .img file from a radio that has one of the settings bytes out-of-range. This causes the settings menus to not show up.
The exposed setting is already set to only use bit 1 and bit 0 but this allows 4 values, 0, 1, 2 and 3 but the setting only has 3 choices, 0, 1 and 2.
The radio came from the factory with the byte set to 0xFF. This causes the value to be 3 which is out-of-range.
u8 unknown_flag_17:6,
ponmsg:2;
options = ["Off", "Welcome", "V bat"]
rs = RadioSetting("ponmsg", "Poweron message",
RadioSettingValueList(options,
options[self._memobj.settings.ponmsg]))
top.append(rs)