[chirp_devel] [PATCH] [VV-898] Changing to "Low" Power Level Does Not Stick #2121

Jim Unroe
Wed Dec 24 05:01:54 PST 2014


Dan,

Ignore the first patch for #2121 and apply this second patch.

Jim

On Wed, Dec 24, 2014 at 7:34 AM, Jim Unroe <rock.unroe at gmail.com> wrote:
> # HG changeset patch
> # User Jim Unroe <rock.unroe at gmail.com>
> # Date 1419388764 18000
> # Node ID c2459eb7800567424c286384b42fcc75139b9e8a
> # Parent  5009f449891c5e217244eca3e2a6298183fadb3f
> [VV-898] Changing to "Low" Power Level Does Not Stick #2121
>
> diff -r 5009f449891c -r c2459eb78005 chirp/leixen.py
> --- a/chirp/leixen.py   Tue Dec 23 21:04:19 2014 -0500
> +++ b/chirp/leixen.py   Tue Dec 23 21:39:24 2014 -0500
> @@ -323,7 +323,7 @@
>
>          self._set_tone(mem, _mem)
>
> -        _mem.power = mem.power and POWER_LEVELS.index(mem.power) or 1
> +        _mem.power = mem.power and POWER_LEVELS.index(mem.power) or 0
>          _mem.mode = MODES.index(mem.mode)
>          _mem.skip = mem.skip == "S"
>          _name.name = mem.name.ljust(7)



More information about the chirp_devel mailing list