aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rtl_tcp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c
index 317e0f3..aef120e 100644
--- a/src/rtl_tcp.c
+++ b/src/rtl_tcp.c
@@ -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;
}