[chirp_devel] bug 155: VX-7 1.25m power levels

David Griffith
Wed May 9 22:16:54 PDT 2012


Pretty simple and straightforward.

# HG changeset patch
# User David Griffith <dave at 661.org>
# Date 1336626680 25200
# Node ID 7b5bcb2537798b08e841055372afb606a4e6a764
# Parent  ef3839880347f6591ce04101a7e73c3f805c4c24
# Parent  c0037561deee06cd5c84b682de1e8142efbcdf3d
Bug 155 fix: VX-7 1.25m power levels

diff -r ef3839880347 -r 7b5bcb253779 chirp/vx7.py
--- a/chirp/vx7.py	Wed May 09 13:09:02 2012 -0700
+++ b/chirp/vx7.py	Wed May 09 22:11:20 2012 -0700
@@ -311,7 +311,7 @@
          msgs = yaesu_clone.YaesuCloneModeRadio.validate_memory(self, mem)

          if mem.freq >= 222000000 and mem.freq <= 225000000:
-            if mem.power not in POWER_LEVELS_220:
+            if str(mem.power) not in ["L1", "L2"]:
                  msgs.append(chirp_common.ValidationError(\
                          "Power level %s not supported on 220MHz band" % \
                              mem.power))



More information about the chirp_devel mailing list