summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Daniel <cd@maintech.de>2012-06-01 00:31:39 +0200
committerChristian Daniel <cd@maintech.de>2012-06-01 00:31:39 +0200
commita2382d66d8a85c13783cfdf782aab16d79c11802 (patch)
tree1f47398442e3e9fe099ddca0cc7f177a30d18361
parentd8d2cfc785b8a00a8f1dff9db3362b820e861a85 (diff)
fix fix of fix for mixer_gain API
-rw-r--r--software/libosmosdr/src/libosmosdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/libosmosdr/src/libosmosdr.c b/software/libosmosdr/src/libosmosdr.c
index de0b56c..f4329b5 100644
--- a/software/libosmosdr/src/libosmosdr.c
+++ b/software/libosmosdr/src/libosmosdr.c
@@ -164,7 +164,7 @@ int e4k_mixer_gain_set(void *dev, int8_t gain) {
buffer[0] = gain;
return libusb_control_transfer(devt->devh, CTRL_OUT, 0x07,
- FUNC(3, 0x0d), 0,
+ FUNC(3, 0x03), 0,
buffer, 1, CTRL_TIMEOUT);
}