From 8693b7ad674c3bd7bf509c1bb5a93af5849abe6e Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Tue, 17 Nov 2020 18:31:03 +0100 Subject: [PATCH] Max gain when AGC off --- sa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index 86680d3..e77a4a2 100644 --- a/sa_core.c +++ b/sa_core.c @@ -760,7 +760,7 @@ void set_AGC_LNA(void) { void set_AGC_LNA(void) { uint8_t v = 0; if (!S_STATE(setting.agc)) - v |= 0x80; // Inverse!!!! + v |= 0x80 + 0x20; // Inverse!!!! if (S_STATE(setting.lna)) v |= 0x08; // Inverse!!!! SI446x_set_AGC_LNA(v);