mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-14 12:17:19 +01:00
lib: only print to stderr in tuner_r82xx_set_pll()
Found by keenerd. Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
03a40c44f5
commit
929beafc6e
@ -547,7 +547,7 @@ static int r82xx_set_pll(struct r82xx_priv *priv, uint32_t freq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(data[2] & 0x40)) {
|
if (!(data[2] & 0x40)) {
|
||||||
printf("[R82XX] PLL not locked!\n");
|
fprintf(stderr, "[R82XX] PLL not locked!\n");
|
||||||
priv->has_lock = 0;
|
priv->has_lock = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user