[chirp_devel] revert #4687

SASANO Takayoshi
Tue Sep 5 21:22:35 PDT 2017


# HG changeset patch
# User SASANO Takayoshi <uaa at mx5.nisiq.net>
# Date 1504671405 -32400
#      Wed Sep 06 13:16:45 2017 +0900
# Node ID 046007af2cb248ae8933f78d5f14dd55b8ae9ee8
# Parent  c56244c58fe85688ef0da20a3f7bfebc0f447e6c
revert #4687
Different from OpenBSD-6.0, OpenBSD-6.1 is no longer required this modification.
And, this cause #5007 bug. Revert to 2715:d1bc2c917785.

diff -r c56244c58fe8 -r 046007af2cb2 chirp/drivers/icf.py
--- a/chirp/drivers/icf.py	Mon Jul 10 17:45:50 2017 -0400
+++ b/chirp/drivers/icf.py	Wed Sep 06 13:16:45 2017 +0900
@@ -198,8 +198,6 @@
         pass
 
     pipe.write(frame)
-    pipe.flush()
-    pipe.read(len(frame))  # discard echoback
 
     return frame
 
@@ -263,7 +261,6 @@
     LOG.debug("Starting HiSpeed Clone:\n%s" % util.hexprint(buf))
     radio.pipe.write(buf)
     radio.pipe.flush()
-    radio.pipe.read(len(buf))  # discard echoback
 
 
 def _clone_from_radio(radio):



More information about the chirp_devel mailing list