[chirp_devel] [ft-90] radio will not go into clone rx mode without port open #1187

Dan Smith
Tue Oct 29 16:32:22 PDT 2013


>          # radio likes to have port open 
>          self.pipe.open()
> +        time.sleep(5)

Hmm, why are you closing and re-opening the serial port? Does the radio
need to start within five seconds of opening the port? That would be
...uncool.

So, why wouldn't this solve the problem?

diff -r 0c72e698e212 chirpui/mainapp.py
--- a/chirpui/mainapp.py        Sun Oct 27 09:00:01 2013 -0700
+++ b/chirpui/mainapp.py        Tue Oct 29 16:31:11 2013 -0700
@@ -612,8 +612,6 @@
             # User does not want to proceed with experimental driver
             return

-        self._show_instructions(rclass, rclass.get_prompts().pre_download)
-
         print "User selected %s %s on port %s" % (rclass.VENDOR,
                                                   rclass.MODEL,
                                                   settings.port)
@@ -630,6 +628,8 @@
             d.destroy()
             return

+        self._show_instructions(rclass, rclass.get_prompts().pre_download)
+
         radio = settings.radio_class(ser)

         fn = tempfile.mktemp()


-- 
Dan Smith
www.danplanet.com
KK7DS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20131029/8031a22c/attachment-0001.bin 


More information about the chirp_devel mailing list