[chirp_devel] [PATCH] [KT7900D/KT8900D] Correct Typo

Jim Unroe
Tue Mar 7 17:52:25 PST 2017


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1488937923 18000
# Node ID fd21a61b30264aca28e6a772d902a77de69adf1a
# Parent  61ddec42ac98a7db2568b5233beb206bbff9a926
[KT7900D/KT8900D] Correct Typo

This patch corrects a typo that incorrectly references the
KT8900D model when it should be the KT7900D model.

related to #4269

diff -r 61ddec42ac98 -r fd21a61b3026 chirp/drivers/btech.py
--- a/chirp/drivers/btech.py	Tue Mar 07 16:42:11 2017 -0800
+++ b/chirp/drivers/btech.py	Tue Mar 07 20:52:03 2017 -0500
@@ -3537,7 +3537,7 @@
         LOG.info("Radio ranges: UHF %d to %d" % uhf)
 
         # the additional bands
-        if self.MODEL in ["KT8900D", ]:
+        if self.MODEL in ["KT7900D", ]:
             # 200Mhz band
             vhf2 = _decode_ranges(ranges.vhf2_low, ranges.vhf2_high)
             LOG.info("Radio ranges: VHF(220) %d to %d" % vhf2)



More information about the chirp_devel mailing list