Skip to content

Commit

Permalink
Scanner: don't search excess frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sultanqasim committed May 16, 2024
1 parent c4395b9 commit f7ab010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Panoramic/Scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,8 @@ Scanner::setViewRange(SUFREQ freqMin, SUFREQ freqMax, bool noHop)
}

if (!noHop) {
searchMin = freqMin - fs / 2;
searchMax = freqMax + fs / 2;
searchMin = freqMin;
searchMax = freqMax;
} else {
searchMin = searchMax = .5 * (freqMin + freqMax);
freqMin = searchMin - fs / 2;
Expand Down

0 comments on commit f7ab010

Please sign in to comment.