[chirp_devel] [bj-uv55] patch for initial support - need help from UV-5R experts/testers

Jim Unroe
Sun Nov 10 18:19:30 PST 2013


On Sun, Nov 10, 2013 at 8:08 PM, Jens J. <kd4tjx at yahoo.com> wrote:

> [bj-uv55] initial channel editing support #1201
>
> I have also tried to simplify a few areas with list comprehension, like:
>
>
> -    if "BFB" not in radio_version and "82" not in radio_version and "USA"
> not in radio_version:
> +    if not any(type in radio_version for type in ["BFB", "82", "USA",
> "BJ55"]):
>
>
I would be happy to work on this with you. I'm not much of a python
programmer. Anyway, "BJ55" will not work here because the area of memory we
are looking at in the BJ55 is 14 spaces. "BJ55" won't be found and the
check will fail with "Unsupported firmware version: ..." You might be able
to get away with "    " (4 spaces between the quotes).

Jim KC9HI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20131110/8501d066/attachment-0001.html 


More information about the chirp_devel mailing list