From db83a996db6345dba1e58b18a0de75f2d28e8cde Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Fri, 1 Aug 2025 15:25:27 +0200 Subject: [PATCH] Wider cal margin --- sa_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sa_core.c b/sa_core.c index 4027257..d23e3e2 100644 --- a/sa_core.c +++ b/sa_core.c @@ -8134,10 +8134,10 @@ void calibrate(void) local_test_status = test_validate(test_case); // Validate test also sets attenuation if zero span #endif #endif - if ((calibration_stage == CS_NORMAL && peakLevel < -40) + if ((calibration_stage == CS_NORMAL && peakLevel < -60) #ifdef TINYSA4 - || (calibration_stage == CS_LNA && peakLevel < -40) - || (calibration_stage == CS_ULTRA && peakLevel < -40) + || (calibration_stage == CS_LNA && peakLevel < -60) + || (calibration_stage == CS_ULTRA && peakLevel < -60) || (calibration_stage == CS_DIRECT_LNA && peakLevel < direct_level - 50) #endif ) {