aboutsummaryrefslogtreecommitdiffstats
path: root/src/librtlsdr.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-04-18 23:58:20 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-18 23:59:17 +0200
commite92b11bfb79437818037515210dc0f0392a93cde (patch)
tree66c002ae1ded6cc21f00ec7067c3c36b672313bf /src/librtlsdr.c
parent4520f001d85f01d051eaa42af7b18b6ef0837e14 (diff)
cosmetic: Fix "implicit fall-through" gcc 7.3.0 warnings
Diffstat (limited to 'src/librtlsdr.c')
-rw-r--r--src/librtlsdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librtlsdr.c b/src/librtlsdr.c
index 4fb2128..ae933b0 100644
--- a/src/librtlsdr.c
+++ b/src/librtlsdr.c
@@ -1594,6 +1594,7 @@ found:
switch (dev->tuner_type) {
case RTLSDR_TUNER_R828D:
dev->tun_xtal = R828D_XTAL_FREQ;
+ /* fall-through */
case RTLSDR_TUNER_R820T:
/* disable Zero-IF mode */
rtlsdr_demod_write_reg(dev, 1, 0xb1, 0x1a, 1);