[chirp_devel] Issue with Baofeng Firmware Version

Jim Unroe
Sun Feb 14 13:01:31 PST 2016


> Try this:
>
> diff -r 9752a42d4a0d chirp/drivers/uv5r.py
> --- a/chirp/drivers/uv5r.py     Mon Feb 08 14:14:28 2016 +0000
> +++ b/chirp/drivers/uv5r.py     Sun Feb 14 07:53:08 2016 -0800
> @@ -1574,7 +1574,7 @@
>                      if element.has_apply_callback():
>                          LOG.debug("Using apply callback")
>                          element.run_apply_callback()
> -                    else:
> +                    elif element.value.get_mutable():
>                          LOG.debug("Setting %s = %s" % (setting,
> element.value))
>                          setattr(obj, setting, element.value)
>                  except Exception, e:
>

Thanks Dan. Exactly what I was looking for. Works great. I will submit
a patch for this soon.

Jim



More information about the chirp_devel mailing list