From 2ac24eb28df826a631c78e82c2db3358478dbf5a Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Sun, 26 Jan 2020 10:22:20 -0800 Subject: [PATCH] Minor whitespace adjustment, and remove unused variables --- ubitx_v6.3.1_code.ino | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ubitx_v6.3.1_code.ino b/ubitx_v6.3.1_code.ino index 617977e..0efc991 100644 --- a/ubitx_v6.3.1_code.ino +++ b/ubitx_v6.3.1_code.ino @@ -305,8 +305,6 @@ void checkPTT(){ //check if the encoder button was pressed void checkButton(){ - int i, t1, t2, knob, new_knob; - //only if the button is pressed if (!btnDown()) return; @@ -325,10 +323,9 @@ void checkButton(){ doSetup2(); return; } - } - active_delay(100); + } + active_delay(100); - doCommands(); //wait for the button to go up again while(btnDown())