|
|
@ -355,6 +355,10 @@ static void *command_worker(void *arg) |
|
|
|
printf("set tuner gain by index %d\n", ntohl(cmd.param)); |
|
|
|
printf("set tuner gain by index %d\n", ntohl(cmd.param)); |
|
|
|
set_gain_by_index(dev, ntohl(cmd.param)); |
|
|
|
set_gain_by_index(dev, ntohl(cmd.param)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 0x0e: |
|
|
|
|
|
|
|
printf("set bias tee %d\n", ntohl(cmd.param)); |
|
|
|
|
|
|
|
rtlsdr_set_bias_tee(dev, (int)ntohl(cmd.param)); |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|