Project

General

Profile

Actions

Bug #887

closed

upper valid_bands check is < instead of <=

Added by Charles Boling almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/28/2013
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
IC-208
Platform:
All
Debug Log:
I read the instructions above:

Description

The check of the upper bound of valid_bands (2013-05-28 daily: chirp_common.py line 887 is inconsistent -- inclusive on the low end, exclusive on the high:

    if lo <= mem.freq < hi:

The check (at least according to the frequencies defined for the IC-208) should be inclusive at both ends, i.e.

    if lo <= mem.freq <= hi:
Actions

Also available in: Atom PDF