[chirp_devel] [PATCH 1 of 3] [mq]: kt8900

Pavel Milanes (CO7WT)
Thu May 12 09:04:05 PDT 2016


# HG changeset patch
# User Pavel Milanes (CO7WT) <pavelmc at gmail.com>
# Date 1462560219 14400
#      Fri May 06 14:43:39 2016 -0400
# Node ID 906ba819a626dfdb3d732d8fa2b006848d3dc656
# Parent  44e9390fd40dc92ad3e926246ef903f38867fe86
[mq]: kt8900

diff -r 44e9390fd40d -r 906ba819a626 chirp/drivers/btech.py
--- a/chirp/drivers/btech.py    Thu May 05 21:01:34 2016 -0700
+++ b/chirp/drivers/btech.py    Fri May 06 14:43:39 2016 -0400
@@ -468,7 +468,13 @@

      # open the radio into program mode
      if _start_clone_mode(radio, status) is False:
-        raise errors.RadioError("Radio didn't entered in the clone mode")
+        if radio.MODEL == "KT8900":
+            error = "Radio didn't entered in clone mode; there is a 
generation"
+            error += " of this radios that are a clone of the WACCOM 
Mini-8900"
+            error += " please try that also."
+            raise errors.RadioError(error)
+        else:
+            raise errors.RadioError("Radio didn't entered in the clone 
mode")

      # Ok, get the ident string
      ident = _rawrecv(radio, 49)




More information about the chirp_devel mailing list