AM-fix cleanup

This commit is contained in:
Krzysiek Egzmont
2023-12-07 21:08:12 +01:00
parent 13c17ad073
commit 5e78916dd3
4 changed files with 6 additions and 6 deletions

View File

@@ -1128,8 +1128,8 @@ static void Tick() {
#ifdef ENABLE_AM_FIX
if (gNextTimeslice) {
gNextTimeslice = false;
if(settings.modulationType == MODULATION_AM) {
AM_fix_10ms(vfo, !lockAGC); //allow AM_Fix to apply its AGC action
if(settings.modulationType == MODULATION_AM && !lockAGC) {
AM_fix_10ms(vfo); //allow AM_Fix to apply its AGC action
}
}
#endif