[chirp_devel] bug 155: VX-7 1.25m power levels
Pretty simple and straightforward.
# HG changeset patch # User David Griffith dave@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))
# HG changeset patch # User David Griffith dave@661.org # Date 1336626680 25200 # Node ID 7b5bcb2537798b08e841055372afb606a4e6a764 # Parent ef3839880347f6591ce04101a7e73c3f805c4c24 # Parent c0037561deee06cd5c84b682de1e8142efbcdf3d Bug 155 fix: VX-7 1.25m power levels
Applied, but please stick a "#" in front of the bug number, as that's what my script checks for. I added it for you this time. The regex that it uses is "#[0-9]+".
Thanks!
participants (2)
-
Dan Smith
-
David Griffith