Bug #155 ยป mypatch.txt
1 |
# HG changeset patch |
---|---|
2 |
# User David Griffith <dave@661.org> |
3 |
# Date 1336626680 25200 |
4 |
# Node ID 7b5bcb2537798b08e841055372afb606a4e6a764 |
5 |
# Parent ef3839880347f6591ce04101a7e73c3f805c4c24 |
6 |
# Parent c0037561deee06cd5c84b682de1e8142efbcdf3d |
7 |
Bug 155 fix: VX-7 1.25m power levels |
8 |
|
9 |
diff -r ef3839880347 -r 7b5bcb253779 chirp/vx7.py |
10 |
--- a/chirp/vx7.py Wed May 09 13:09:02 2012 -0700 |
11 |
+++ b/chirp/vx7.py Wed May 09 22:11:20 2012 -0700 |
12 |
@@ -311,7 +311,7 @@ |
13 |
msgs = yaesu_clone.YaesuCloneModeRadio.validate_memory(self, mem) |
14 |
|
15 |
if mem.freq >= 222000000 and mem.freq <= 225000000: |
16 |
- if mem.power not in POWER_LEVELS_220: |
17 |
+ if str(mem.power) not in ["L1", "L2"]: |
18 |
msgs.append(chirp_common.ValidationError(\ |
19 |
"Power level %s not supported on 220MHz band" % \ |
20 |
mem.power)) |