diff --git a/am_fix.c b/am_fix.c index 0d7ca50..c8dda00 100644 --- a/am_fix.c +++ b/am_fix.c @@ -313,13 +313,13 @@ void AM_fix_10ms(const unsigned vfo, bool force) case FUNCTION_TRANSMIT: case FUNCTION_BAND_SCOPE: case FUNCTION_POWER_SAVE: - case FUNCTION_FOREGROUND: #ifdef ENABLE_AM_FIX_SHOW_DATA counter = display_update_rate; // queue up a display update as soon as we switch to RX mode #endif return; // only adjust stuff if we're in one of these modes + case FUNCTION_FOREGROUND: case FUNCTION_RECEIVE: case FUNCTION_MONITOR: case FUNCTION_INCOMING: diff --git a/radio.c b/radio.c index 3da46fc..a236777 100644 --- a/radio.c +++ b/radio.c @@ -773,7 +773,7 @@ void RADIO_SetupRegisters(bool switchToForeground) } #endif - RADIO_SetupAGC(false, false); + RADIO_SetupAGC(gRxVfo->Modulation == MODULATION_AM, false); // enable/disable BK4819 selected interrupts BK4819_WriteRegister(BK4819_REG_3F, InterruptMask);