[chirp_devel] Baofeng UV-6 Radio
Dan Smith
Wed Feb 5 17:45:28 PST 2014
> Dan,
> this reminds me - is there a way to "incrementally" load the bitwise
> structures into the memory map. The thought here was we could have a
> "common" channel map, and then might have custom settings, or event
> sections of settings depending upon model, and load the ones needed into
> the radio class.
> (This could be thought of as a piecemeal approach to populating the
> memory map?)
They're just strings, so you can format them, concatenate pieces
together, than then pass the result to bitwise to do the magic. There is
at least one other case where I format in the address of a starting
block depending on which model I'm using. I think that is actually no
longer necessary in that case, now that structs can be defined as types
and applied in multiple places (a relatively recent bitwise feature).
However, for your case where you want to piece things together, I think
it should be pretty easy to do, right?
--Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20140205/318ae230/attachment-0001.bin
More information about the chirp_devel
mailing list