[chirp_devel] [PATCH 1 of 2] Consider lower bound frequency of each valid_band as valid
Marco Filippi IZ3GME
Tue May 22 12:04:50 PDT 2012
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1337703831 -7200
# Node ID ec4361ad770faedf0e25f697e9f74a3a80beb475
# Parent 6584d54fd0ba7b63436787f6e31ecdc3e36d4c01
Consider lower bound frequency of each valid_band as valid
Fix bug #181
diff -r 6584d54fd0ba -r ec4361ad770f chirp/chirp_common.py
--- a/chirp/chirp_common.py mar mag 22 17:57:41 2012 +0200
+++ b/chirp/chirp_common.py mar mag 22 18:23:51 2012 +0200
@@ -830,7 +830,7 @@
if self.valid_bands:
valid = False
for lo, hi in self.valid_bands:
- if mem.freq > lo and mem.freq < hi:
+ if lo <= mem.freq < hi:
valid = True
break
if not valid:
More information about the chirp_devel
mailing list