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

Jim Unroe
Tue Dec 23 19:13:37 PST 2014


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1419388764 18000
# Node ID 6fa4741ec27b377cde2d5a916325d15ec11a6198
# Parent  5009f449891c5e217244eca3e2a6298183fadb3f
[VV-898] Changing to "Low" Power Level Does Not Stick #2121

diff -r 5009f449891c -r 6fa4741ec27b 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 = POWER_LEVELS.index(mem.power)
         _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