Skip to content

Commit

Permalink
Fixed Band Select Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
phdlee committed May 9, 2018
1 parent 76d5c36 commit 6a2369b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubitx_20/ubitx_20.ino
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ void setNextHamBandFreq(unsigned long f, char moveDirection)
if ((resultFreq / 1000) < hamBandRange[(unsigned char)findedIndex][0] || (resultFreq / 1000) > hamBandRange[(unsigned char)findedIndex][1])
resultFreq = (unsigned long)(hamBandRange[(unsigned char)findedIndex][0]) * 1000;

setFrequency(resultFreq);
byteToMode(loadMode, 1);
setFrequency(resultFreq);
}

void saveBandFreqByIndex(unsigned long f, unsigned long mode, char bandIndex) {
Expand Down

0 comments on commit 6a2369b

Please sign in to comment.