mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-06 10:47:35 +01:00
rtl_test: tuner PLL benchmark only works with E4000
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
fc736ae67f
commit
304c7c863d
@ -244,7 +244,11 @@ int main(int argc, char **argv)
|
||||
fprintf(stderr, "WARNING: Failed to set sample rate.\n");
|
||||
|
||||
if (tuner_benchmark) {
|
||||
e4k_benchmark();
|
||||
if (rtlsdr_get_tuner_type(dev) == RTLSDR_TUNER_E4000)
|
||||
e4k_benchmark();
|
||||
else
|
||||
fprintf(stderr, "No E4000 tuner found, aborting.\n");
|
||||
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user