From 6a2369bc27872b96c4b74c05e237711a4d33783e Mon Sep 17 00:00:00 2001 From: phdlee Date: Wed, 9 May 2018 16:53:40 +0900 Subject: [PATCH] Fixed Band Select Bug --- ubitx_20/ubitx_20.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubitx_20/ubitx_20.ino b/ubitx_20/ubitx_20.ino index 487faf4..216d34c 100644 --- a/ubitx_20/ubitx_20.ino +++ b/ubitx_20/ubitx_20.ino @@ -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) {