mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-02 06:27:38 -04:00
Fix keypad frequency entry code
This commit is contained in:
parent
1c099663fc
commit
edbb17e4c4
@ -397,7 +397,8 @@ void enterFreq(){
|
||||
int cursor_pos = 0;
|
||||
memset(c, 0, sizeof(c));
|
||||
|
||||
while(1){
|
||||
bool exit = false;
|
||||
while(!exit){
|
||||
|
||||
checkCAT();
|
||||
if(btnDown()){
|
||||
@ -437,6 +438,7 @@ void enterFreq(){
|
||||
}
|
||||
saveVFOs();
|
||||
}
|
||||
exit = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -451,6 +453,7 @@ void enterFreq(){
|
||||
}
|
||||
case KEYS_CANCEL:
|
||||
{
|
||||
exit = true;
|
||||
break;
|
||||
}
|
||||
case KEYS_0:
|
||||
@ -483,7 +486,7 @@ void enterFreq(){
|
||||
active_delay(300);
|
||||
while(readTouch())
|
||||
checkCAT();
|
||||
} // end of event loop : while(1)
|
||||
} // end of event loop : while(!exit)
|
||||
|
||||
guiUpdate();
|
||||
enc_read();//clear out any tuner turning that happened during entry
|
||||
|
Loading…
Reference in New Issue
Block a user