[chirp_devel] [PATCH] [UV-B5] Remove local "validate_memory" helper
Jim Unroe
Fri May 1 03:11:18 PDT 2015
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1430474322 14400
# Node ID cb95e38d812bc55e11c2b2dca5da0ecaa48010af
# Parent a0d812f186dff963cdbdd8d0bbee029aa1585a2a
[UV-B5] Remove local "validate_memory" helper
Remove the local "validate_memory" helper and the 70 MHz maximum
split limit that it imposes.
Related to #2559
diff -r a0d812f186df -r cb95e38d812b chirp/drivers/uvb5.py
--- a/chirp/drivers/uvb5.py Thu Apr 30 19:40:40 2015 -0400
+++ b/chirp/drivers/uvb5.py Fri May 01 05:58:42 2015 -0400
@@ -476,15 +476,6 @@
for setting in mem.extra:
setattr(_mem, setting.get_name(), setting.value)
- def validate_memory(self, mem):
- msgs = chirp_common.CloneModeRadio.validate_memory(self, mem)
-
- if (mem.duplex == "split" and abs(mem.freq - mem.offset) > 69995000) \
- or (mem.duplex in ["+", "-"] and mem.offset > 69995000):
- msgs.append(chirp_common.ValidationError(
- "Max split is 69.995MHz"))
- return msgs
-
def get_settings(self):
_settings = self._memobj.settings
basic = RadioSettingGroup("basic", "Basic Settings")
More information about the chirp_devel
mailing list