[chirp_devel] [PATCH 1 of 3] [mq]: kt8900
# HG changeset patch # User Pavel Milanes (CO7WT) pavelmc@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)
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")
This was wrong before, but I didn't catch it; let's get it right since we're changing it now anyway. The error should be:
"Radio did not enter clone mode"
...to be correct.
Thanks!
--Dan
El 12/05/16 a las 23:01, Dan Smith via chirp_devel escribió:
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")
This was wrong before, but I didn't catch it; let's get it right since we're changing it now anyway. The error should be:
"Radio did not enter clone mode"
...to be correct.
Thanks!
--Dan
Hi Dan,
I had troubles making hg patchbomb working with gmail an tried to sent it by the other way...
Thanks for the correction, I'm still learning English every day...
73 Pavel CO7WT
participants (2)
-
Dan Smith
-
Pavel Milanes (CO7WT)