[chirp_devel] [PATCH] [uv5r] removed debug print statements from

Jim Unroe
Wed Feb 20 02:08:40 PST 2013


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1361354739 18000
# Node ID 6f9cacbb4d697ec1514bd418a61530c763253688
# Parent  950ed075648817f15b9b4d6b309e37ff2378b7be
[uv5r] removed debug print statements from
def apply_offset(setting, obj):
releated to #599

diff -r 950ed0756488 -r 6f9cacbb4d69 chirp/uv5r.py
--- a/chirp/uv5r.py	Tue Feb 19 19:14:56 2013 -0500
+++ b/chirp/uv5r.py	Wed Feb 20 05:05:39 2013 -0500
@@ -968,14 +968,10 @@
            return chirp_common.format_freq(real_offset * 10000)
 
         def apply_offset(setting, obj):
-            print setting.value
             value = chirp_common.parse_freq(str(setting.value)) / 10000
-            print value
-            print obj
             for i in range(3, -1, -1):
                 obj.offset[i] = value % 10
                 value /= 10
-            print "Applied %s:\n%s" % (setting.value, obj)
 
         val1a = RadioSettingValueString(0, 10,
             convert_bytes_to_offset(self._memobj.vfoa.offset))



More information about the chirp_devel mailing list