[chirp_devel] RadioSettings when used within mem.extra

Jim Unroe
Fri Jul 30 18:16:45 PDT 2021


On Fri, Jul 30, 2021 at 6:40 PM Dan Smith via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
>
> > Memory extra settings currently only appears to support RadioSettingValueBoolean and RadioSettingValueList; the behaviour when any other type is provided is to simply ignore it.  It probably wouldn't be difficult to add support for additional types such as RadioSettingValueInteger given that the IntChoiceEditor is already defined (although never instantiated).  I have no context as to the history as to why this is the case, but should be easy to implement and test.
>
> Yep, just not implemented. I'm sure it's because the radio or radios I was working on at the time had no integer settings in mem.extra so I just didn't implement it.
>
> I just sent a patch that seems to work for me, although the tk760 driver doesn't appear to actually save the bank, probably because there was no way to change it in the UI and test.
>
> Jim, if you want to give this a test, I can either apply it as-is, or you can include it in whatever you're planning to submit that uses this.

Dan, it works as I would expect it to. You can "apply it as-is". Thanks!

Jim



More information about the chirp_devel mailing list