From 1ce889eef04e2624a672aac9ac00d5e7df58cb24 Mon Sep 17 00:00:00 2001 From: phdlee Date: Thu, 5 Jul 2018 19:18:22 +0900 Subject: [PATCH] Release v1.095 Beta --- ubitx_20/ubitx_lcd_nextion.ino | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ubitx_20/ubitx_lcd_nextion.ino b/ubitx_20/ubitx_lcd_nextion.ino index 06340ae..db587dc 100644 --- a/ubitx_20/ubitx_lcd_nextion.ino +++ b/ubitx_20/ubitx_lcd_nextion.ino @@ -761,7 +761,10 @@ void SWS_Process(void) { unsigned long *tempFreq; tempFreq = (unsigned long *)(&swr_buffer[commandStartIndex + 4]); - frequency = *tempFreq; + //if (*tempFreq > 3000) //for loss protcol + //{ + frequency = *tempFreq; + //} } else if (commandType == TS_CMD_BAND) { @@ -989,7 +992,7 @@ void SendUbitxData(void) SendCommandL(CMD_AR_TUNE4, arTuneStep[3]); SendCommandL(CMD_AR_TUNE5, arTuneStep[4]); - SendCommandL(CMD_IS_CW_SHIFT_DISPLAY, isShiftDisplayCWFreq); + SendCommand1Num(CMD_IS_CW_SHIFT_DISPLAY, isShiftDisplayCWFreq); SendCommandL(CMD_CW_SHIFT_ADJUST, shiftDisplayAdjustVal); SendCommandL(CMD_COMM_OPTION, commonOption0); SendCommandL(CMD_DISP_OPTION1, displayOption1);