[chirp_devel] [PATCH] [KG-UV8D] Get/Set memory power level and NFM/FM was broken
Marco Filippi IZ3GME
Sun Jan 11 12:00:33 PST 2015
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1421006420 -3600
# dom gen 11 21:00:20 2015 +0100
# Node ID 1944f5f2d5bcf4bf78c668da2757c15463652874
# Parent 0df127f057dcb923e3b0ddd70c8511722f4f43eb
[KG-UV8D] Get/Set memory power level and NFM/FM was broken
Fix #2137
diff -r 0df127f057dc -r 1944f5f2d5bc chirp/kguv8d.py
--- a/chirp/kguv8d.py dom gen 11 20:29:45 2015 +0100
+++ b/chirp/kguv8d.py dom gen 11 21:00:20 2015 +0100
@@ -637,12 +637,12 @@
else:
_mem.txfreq = int(mem.freq / 10)
_mem.scan_add = int(mem.skip != "S")
- _mem.iswide = int(mem.mode == "NFM")
+ _mem.iswide = int(mem.mode == "FM")
# set the tone
self._set_tone(mem, _mem)
# set the power
if mem.power:
- _mem.power = not self.POWER_LEVELS.index(mem.power)
+ _mem.power = self.POWER_LEVELS.index(mem.power)
else:
_mem.power = True
# TODO: sett the correct mute mode, for now just
More information about the chirp_devel
mailing list