mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-10 04:37:37 +01:00
rtl_tcp: add command for bias tee control
This commit is contained in:
parent
2be1612e60
commit
fa3a113b77
@ -355,6 +355,10 @@ static void *command_worker(void *arg)
|
||||
printf("set tuner gain by index %d\n", ntohl(cmd.param));
|
||||
set_gain_by_index(dev, ntohl(cmd.param));
|
||||
break;
|
||||
case 0x0e:
|
||||
printf("set bias tee %d\n", ntohl(cmd.param));
|
||||
rtlsdr_set_bias_tee(dev, (int)ntohl(cmd.param));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user