[chirp_devel] Baofeng UV-6 Radio
Dan Smith
Sun Feb 16 11:01:52 PST 2014
> I have a question though. Since the use picks a model from a list,
> shouldn't there be a way to take advantage of that for enabling and/or
> disabling settings? I've been using self._my_version() to do this but if
> I'm not careful, there can be collisions with the various models. It
> seem to me that the user selected model would be much better.
Well, yes, but for that to work reliably, you need to be able to detect
the image separately as well. If that's working, then you can do
something like:
if self.MODEL == "UV-5R":
# do something
elif self.MODEL == "UV6":
# do something different
--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/20140216/4eff6e72/attachment-0001.bin
More information about the chirp_devel
mailing list