forked from mirror/uv-k5-firmware
Fixed build in non-NOAA.
This commit is contained in:
parent
b0620755f4
commit
3847d3bcbe
@ -347,12 +347,14 @@ void MENU_AcceptSetting(void)
|
||||
return;
|
||||
|
||||
case MENU_WX:
|
||||
#if defined(ENABLE_NOAA)
|
||||
if (IS_NOAA_CHANNEL(gEeprom.ScreenChannel[0])) {
|
||||
return;
|
||||
}
|
||||
if (IS_NOAA_CHANNEL(gEeprom.ScreenChannel[1])) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
gEeprom.CROSS_BAND_RX_TX = gSubMenuSelection;
|
||||
gFlagReconfigureVfos = true;
|
||||
gRequestSaveSettings = true;
|
||||
|
@ -292,9 +292,11 @@ void SCANNER_Start(void)
|
||||
BK4819_StopScan();
|
||||
RADIO_SelectVfos();
|
||||
|
||||
#if defined(ENABLE_NOAA)
|
||||
if (IS_NOAA_CHANNEL(gRxVfo->CHANNEL_SAVE)) {
|
||||
gRxVfo->CHANNEL_SAVE = FREQ_CHANNEL_FIRST + BAND6_400MHz;
|
||||
}
|
||||
#endif
|
||||
|
||||
BackupStep = gRxVfo->STEP_SETTING;
|
||||
BackupFrequency = gRxVfo->StepFrequency;
|
||||
|
Loading…
Reference in New Issue
Block a user