mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-02-28 18:04:09 +01:00
rtl_tcp: add handler for freq correction command
This commit is contained in:
parent
e5adc9a3ad
commit
b290116ac7
@ -291,6 +291,10 @@ static void *command_worker(void *arg)
|
|||||||
printf("set gain %d\n", cmd.param);
|
printf("set gain %d\n", cmd.param);
|
||||||
rtlsdr_set_tuner_gain(dev, cmd.param);
|
rtlsdr_set_tuner_gain(dev, cmd.param);
|
||||||
break;
|
break;
|
||||||
|
case 0x05:
|
||||||
|
printf("set freq correction %d\n", cmd.param);
|
||||||
|
rtlsdr_set_freq_correction(dev, cmd.param);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user