diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2010-06-22 16:13:16 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-06-22 16:13:16 +0000 |
| commit | 20d92bb7f301932d7e3e509d48034d9d5e57fee0 (patch) | |
| tree | 2c85c3521250fc308f5a92be433ea2cb5aadbfea | |
| parent | 33faa05a06c01bf597fcd5a966bc24ca9a8f57c2 (diff) | |
| download | rockbox-20d92bb7f301932d7e3e509d48034d9d5e57fee0.zip rockbox-20d92bb7f301932d7e3e509d48034d9d5e57fee0.tar.gz rockbox-20d92bb7f301932d7e3e509d48034d9d5e57fee0.tar.bz2 rockbox-20d92bb7f301932d7e3e509d48034d9d5e57fee0.tar.xz | |
Fix wrong comments in tuner-clipplus.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27056 a1c6a512-1295-4272-9138-f99709370657
| -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 650f68d..3e911c2 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 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Multi-tuner detection module to select between the si4700 and a yet - * unidentified Silicon Labs FM tuner chip found in some Sansa Clip+ players. + * Multi-tuner detection module to select between the Si4700 and the RDA5802 * * Copyright (C) 2010 Bertrik Sikken * @@ -25,14 +24,15 @@ #include <stdint.h> #include "tuner.h" +/* return the detected tuner type */ int tuner_detect_type(void) { if (si4700_detect()) { return SI4700; - } else if (rda5802_detect()) { + } + if (rda5802_detect()) { return RDA5802; - } else { - return 0; } + return 0; } |