mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Update Kraken.cpp
disable auto gain
This commit is contained in:
parent
d3f1ca6041
commit
e497090bfe
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void Kraken::start()
|
||||||
check_status(status, "Failed to set sample rate.");
|
check_status(status, "Failed to set sample rate.");
|
||||||
status = rtlsdr_set_dithering(devs[i], 0); // disable dither
|
status = rtlsdr_set_dithering(devs[i], 0); // disable dither
|
||||||
check_status(status, "Failed to disable dithering.");
|
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.");
|
check_status(status, "Failed to disable AGC.");
|
||||||
status = rtlsdr_set_tuner_gain(devs[i], gain[i]);
|
status = rtlsdr_set_tuner_gain(devs[i], gain[i]);
|
||||||
check_status(status, "Failed to set gain.");
|
check_status(status, "Failed to set gain.");
|
||||||
|
|
Loading…
Reference in a new issue