From e66a49a16154c2a4705bfe457d692932e4f1018b Mon Sep 17 00:00:00 2001 From: Farhan Date: Tue, 22 May 2018 23:48:31 +0530 Subject: [PATCH] Ian's fix for buffer overflow and UI tweaks --- ubitx_menu.ino | 3 ++- ubitx_v4.3_code.ino | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ubitx_menu.ino b/ubitx_menu.ino index 3adf08a..4590188 100644 --- a/ubitx_menu.ino +++ b/ubitx_menu.ino @@ -557,11 +557,12 @@ void menuSetupCwDelay(int btn){ active_delay(500); prev_cw_delay = cwDelayTime; - cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "6:Setup>CW Delay>", " msec"); + cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "CW Delay>", " msec"); printLine1("CW Delay Set!"); printLine2(""); active_delay(500); + updateDisplay(); menuOn = 0; } diff --git a/ubitx_v4.3_code.ino b/ubitx_v4.3_code.ino index b074211..95cac20 100644 --- a/ubitx_v4.3_code.ino +++ b/ubitx_v4.3_code.ino @@ -108,7 +108,7 @@ LiquidCrystal lcd(8,9,10,11,12,13); * the serial port as we can easily run out of buffer space. This is done in the serial_in_count variable. */ char c[30], b[30]; -char printBuff[2][17]; //mirrors what is showing on the two lines of the display +char printBuff[2][31]; //mirrors what is showing on the two lines of the display int count = 0; //to generally count ticks, loops, etc /**