[chirp_devel] [PATCH 1 of 1] Trivial: fix variable name in debug dump

Ed Santiago
Mon Jun 4 06:23:59 PDT 2012


Variable started off life as r, became resp. Missed a spot.

Ed
-- 
Ed Santiago               Toolsmith               ... at edsantiago.com


-------------- next part --------------
# HG changeset patch
# User Ed Santiago <esm at r.edsantiago.com>
# Date 1338815731 21600
# Node ID 74215d1faa1f1a8c1fac21aeaec908eb8710e491
# Parent  0b9d831d33fea56e2c10c40fad23f8e7f2686351
_wouxun_identify(): wrong variable name in retry handling

diff -r 0b9d831d33fe -r 74215d1faa1f chirp/wouxun.py
--- a/chirp/wouxun.py	Wed May 30 08:52:11 2012 -0700
+++ b/chirp/wouxun.py	Mon Jun 04 07:15:31 2012 -0600
@@ -81,7 +81,7 @@
         radio.pipe.write(string)
         resp = radio.pipe.read(9)
         if len(resp) != 9:
-            print "Got:\n%s" % util.hexprint(r)
+            print "Got:\n%s" % util.hexprint(resp)
             print "Retrying identification..."
             time.sleep(1)
             continue


More information about the chirp_devel mailing list