[chirp_devel] Problem with Out-of-Setting

Jim Unroe
Sun Jan 19 18:58:37 PST 2014


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)

How do I get CHIRP to ignore the out-of-range value or change it to a valid
one?

Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20140119/77d72d93/attachment-0001.html 


More information about the chirp_devel mailing list