[chirp_devel] [PATCH 2 of 2] Consider lower bound frequency of each valid_band as valid
Marco Filippi IZ3GME
Tue May 22 12:04:51 PDT 2012
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1337704290 -7200
# Branch stable_0_2_x
# Node ID 0d1291e76df906be188060ce5dfd9de36352965c
# Parent 24a6927c0698c906f780ef87e1220932ed187ed9
Consider lower bound frequency of each valid_band as valid
Fix bug #181
diff -r 24a6927c0698 -r 0d1291e76df9 chirp/chirp_common.py
--- a/chirp/chirp_common.py lun mag 21 14:38:53 2012 -0600
+++ b/chirp/chirp_common.py mar mag 22 18:31:30 2012 +0200
@@ -866,7 +866,7 @@
if rf.valid_bands:
valid = False
for lo, hi in rf.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