aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/librtlsdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librtlsdr.c b/src/librtlsdr.c
index 527f007..29e4116 100644
--- a/src/librtlsdr.c
+++ b/src/librtlsdr.c
@@ -1503,6 +1503,7 @@ int rtlsdr_open(rtlsdr_dev_t **out_dev, uint32_t index)
if (reg == R82XX_CHECK_VAL) {
fprintf(stderr, "Found Rafael Micro R828D tuner\n");
dev->tuner_type = RTLSDR_TUNER_R828D;
+ goto found;
}
/* initialise GPIOs */