aboutsummaryrefslogtreecommitdiffstats
path: root/src/librtlsdr.c
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2014-02-04 19:53:24 +0100
committerSteve Markgraf <steve@steve-m.de>2014-02-04 19:53:24 +0100
commit50743b1ccba6242bb77421d5c15afcd4f9a0adb7 (patch)
treea4e0cfa37639c8c9660baf95e04f3c0fac028cfe /src/librtlsdr.c
parent0a90c7d4177a61b2272098e7c89553726401f836 (diff)
remove unused variables, type fixes
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/librtlsdr.c')
-rw-r--r--src/librtlsdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librtlsdr.c b/src/librtlsdr.c
index 29e4116..f21b187 100644
--- a/src/librtlsdr.c
+++ b/src/librtlsdr.c
@@ -534,7 +534,7 @@ int rtlsdr_demod_write_reg(rtlsdr_dev_t *dev, uint8_t page, uint16_t addr, uint1
void rtlsdr_set_gpio_bit(rtlsdr_dev_t *dev, uint8_t gpio, int val)
{
- uint8_t r;
+ uint16_t r;
gpio = 1 << gpio;
r = rtlsdr_read_reg(dev, SYSB, GPO, 1);