From 68ca4f14f46dabdfb32c289989975a829ab3b3b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= <mordae@anilinux.org>
Date: Tue, 27 Feb 2024 21:29:18 +0100
Subject: [PATCH] Increase preamp overhead

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 501c1d0..831ece3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -551,7 +551,7 @@ static void rf_tx_stop()
 
 static void rf_rx(void)
 {
-	const int amp_max = CLK_SYS_HZ / 2 / BANDWIDTH * DECIMATION + 1;
+	const int amp_max = CLK_SYS_HZ / 2 / BANDWIDTH * DECIMATION + 16;
 	const int amp_scale = INT_MAX / amp_max;
 
 	static int8_t block[IQ_BLOCK_LEN];