rtl_tcp: fix printing of if gain values

master
Dimitri Stolnikov 12 years ago
parent f1803fe10f
commit 698a8a152e
  1. 4
      src/rtl_tcp.c

@ -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…
Cancel
Save