Minor whitespace adjustment, and remove unused variables

This commit is contained in:
Reed Nightingale 2020-01-26 10:22:20 -08:00
parent e88ee1826e
commit 2ac24eb28d

View File

@ -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,9 +323,8 @@ void checkButton(){
doSetup2();
return;
}
}
active_delay(100);
}
active_delay(100);
doCommands();
//wait for the button to go up again