mirror of
https://github.com/brmlab/kalibrate-rtl.git
synced 2025-08-01 21:53:37 +02:00
fix warning due to incorrect format string
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
40ae519271
commit
0bb9df0341
1 changed files with 1 additions and 2 deletions
|
@ -125,10 +125,9 @@ int usrp_source::tune(double freq) {
|
|||
pthread_mutex_lock(&m_u_mutex);
|
||||
if (freq != m_center_freq) {
|
||||
r = rtlsdr_set_center_freq(dev, (uint32_t)freq);
|
||||
// fprintf(stderr, "Tuned to %i Hz.\n", (uint32_t)freq);
|
||||
|
||||
if (r < 0)
|
||||
fprintf(stderr, "Tuning to %lu Hz failed!\n", (uint32_t)freq);
|
||||
fprintf(stderr, "Tuning to %u Hz failed!\n", (uint32_t)freq);
|
||||
else
|
||||
m_center_freq = freq;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue