mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-06 10:47:35 +01:00
rtl_tcp: fix printing of if gain values
This commit is contained in:
parent
f1803fe10f
commit
698a8a152e
@ -344,8 +344,8 @@ static void *command_worker(void *arg)
|
||||
break;
|
||||
case 0x06:
|
||||
tmp = ntohl(cmd.param);
|
||||
printf("set if stage %d, gain %d\n", tmp >> 16, tmp & 0xffff);
|
||||
rtlsdr_set_tuner_if_gain(dev, tmp >> 16, tmp & 0xffff);
|
||||
printf("set if stage %d gain %d\n", tmp >> 16, (short)(tmp & 0xffff));
|
||||
rtlsdr_set_tuner_if_gain(dev, tmp >> 16, (short)(tmp & 0xffff));
|
||||
break;
|
||||
case 0x07:
|
||||
printf("set test mode %d\n", ntohl(cmd.param));
|
||||
|
Loading…
Reference in New Issue
Block a user