diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c b/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c index 650f68dc8b..3e911c2e13 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c +++ b/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c | |||
@@ -7,8 +7,7 @@ | |||
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 8 | * $Id$ |
9 | * | 9 | * |
10 | * Multi-tuner detection module to select between the si4700 and a yet | 10 | * Multi-tuner detection module to select between the Si4700 and the RDA5802 |
11 | * unidentified Silicon Labs FM tuner chip found in some Sansa Clip+ players. | ||
12 | * | 11 | * |
13 | * Copyright (C) 2010 Bertrik Sikken | 12 | * Copyright (C) 2010 Bertrik Sikken |
14 | * | 13 | * |
@@ -25,14 +24,15 @@ | |||
25 | #include <stdint.h> | 24 | #include <stdint.h> |
26 | #include "tuner.h" | 25 | #include "tuner.h" |
27 | 26 | ||
27 | /* return the detected tuner type */ | ||
28 | int tuner_detect_type(void) | 28 | int tuner_detect_type(void) |
29 | { | 29 | { |
30 | if (si4700_detect()) { | 30 | if (si4700_detect()) { |
31 | return SI4700; | 31 | return SI4700; |
32 | } else if (rda5802_detect()) { | 32 | } |
33 | if (rda5802_detect()) { | ||
33 | return RDA5802; | 34 | return RDA5802; |
34 | } else { | ||
35 | return 0; | ||
36 | } | 35 | } |
36 | return 0; | ||
37 | } | 37 | } |
38 | 38 | ||