Fix for when channel scan has no scanlisted channels to scan

This commit is contained in:
OneOfEleven committed 2023-10-04 23:09:55 +01:00
1 parent 6e7f8b1877
commit a6324ffcf8
3 files changed
+6 -2

No files matched your search

+6 -2
View File
@@ -702,8 +702,12 @@ static void MR_NextChannel(void)
{
chan = RADIO_FindNextChannel(gNextMrChannel + gScanState, gScanState, (gEeprom.SCAN_LIST_DEFAULT < 2) ? true : false, gEeprom.SCAN_LIST_DEFAULT);
if (chan == 0xFF)
return;
{ // no valid channel found
chan = MR_CHANNEL_FIRST;
// return;
}
gNextMrChannel = chan;
}
BIN
View File
Binary file not shown.
Binary file not shown.