mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-08 21:47:22 -05:00
Minor whitespace adjustment, and remove unused variables
This commit is contained in:
parent
e88ee1826e
commit
2ac24eb28d
@ -305,8 +305,6 @@ void checkPTT(){
|
|||||||
|
|
||||||
//check if the encoder button was pressed
|
//check if the encoder button was pressed
|
||||||
void checkButton(){
|
void checkButton(){
|
||||||
int i, t1, t2, knob, new_knob;
|
|
||||||
|
|
||||||
//only if the button is pressed
|
//only if the button is pressed
|
||||||
if (!btnDown())
|
if (!btnDown())
|
||||||
return;
|
return;
|
||||||
@ -325,10 +323,9 @@ void checkButton(){
|
|||||||
doSetup2();
|
doSetup2();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
active_delay(100);
|
active_delay(100);
|
||||||
|
|
||||||
|
|
||||||
doCommands();
|
doCommands();
|
||||||
//wait for the button to go up again
|
//wait for the button to go up again
|
||||||
while(btnDown())
|
while(btnDown())
|
||||||
|
Loading…
Reference in New Issue
Block a user