Instead of fast tuning, play back the current frequency upon selection

This commit is contained in:
Reed Nightingale 2020-01-25 15:54:47 -08:00
parent 68b85e6fa0
commit c6b21bfa6d

View File

@ -710,22 +710,18 @@ void doCommand(Button* button){
}
case BUTTON_VFOA:
{
if(VFO_A == globalSettings.activeVfo){
fastTune();
}
else{
switchVFO(VFO_A);
}
uint32_t freq = globalSettings.vfoA.frequency;
ltoa(freq,b,10);
morseText(b);
break;
}
case BUTTON_VFOB:
{
if(VFO_B == globalSettings.activeVfo){
fastTune();
}
else{
switchVFO(VFO_B);
}
uint32_t freq = globalSettings.vfoB.frequency;
ltoa(freq,b,10);
morseText(b);
break;
}
case BUTTON_80: