Skip to content

Commit

Permalink
Fix egzumer#211: AM reception chopping
Browse files Browse the repository at this point in the history
  • Loading branch information
egzumer committed Dec 7, 2023
1 parent c697596 commit 13c17ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion am_fix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 13c17ad

Please sign in to comment.