From e497090bfe24f94a7c1a723fbc54eca8c85e30c8 Mon Sep 17 00:00:00 2001 From: sdn-ninja Date: Thu, 13 Jun 2024 00:09:14 +0100 Subject: [PATCH] Update Kraken.cpp disable auto gain --- src/capture/kraken/Kraken.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capture/kraken/Kraken.cpp b/src/capture/kraken/Kraken.cpp index 4c98f13..460d28d 100644 --- a/src/capture/kraken/Kraken.cpp +++ b/src/capture/kraken/Kraken.cpp @@ -66,7 +66,7 @@ void Kraken::start() check_status(status, "Failed to set sample rate."); status = rtlsdr_set_dithering(devs[i], 0); // disable dither check_status(status, "Failed to disable dithering."); - status = rtlsdr_set_tuner_gain_mode(devs[i], 0); // enable AGC + status = rtlsdr_set_tuner_gain_mode(devs[i], 1); // disable AGC check_status(status, "Failed to disable AGC."); status = rtlsdr_set_tuner_gain(devs[i], gain[i]); check_status(status, "Failed to set gain.");