Try to improve channel input
This commit is contained in:
14
app/app.c
14
app/app.c
@@ -1474,6 +1474,20 @@ void APP_TimeSlice500ms(void)
|
||||
gBeepToPlay = BEEP_NONE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (IS_MR_CHANNEL(gTxVfo->CHANNEL_SAVE)) { // user is entering channel number
|
||||
switch (gInputBoxIndex)
|
||||
{
|
||||
case 1:
|
||||
channelMove(gInputBox[0] - 1, false);
|
||||
break;
|
||||
case 2:
|
||||
channelMove(((gInputBox[0] * 10) + gInputBox[1]) - 1, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (gDTMF_RX_live_timeout > 0)
|
||||
|
Reference in New Issue
Block a user