mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix wrong comments in tuner-clipplus.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
33faa05a06
commit
20d92bb7f3
1 changed files with 6 additions and 6 deletions
|
|
@ -7,8 +7,7 @@
|
||||||
* \/ \/ \/ \/ \/
|
* \/ \/ \/ \/ \/
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*
|
||||||
* Multi-tuner detection module to select between the si4700 and a yet
|
* Multi-tuner detection module to select between the Si4700 and the RDA5802
|
||||||
* unidentified Silicon Labs FM tuner chip found in some Sansa Clip+ players.
|
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Bertrik Sikken
|
* Copyright (C) 2010 Bertrik Sikken
|
||||||
*
|
*
|
||||||
|
|
@ -25,14 +24,15 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "tuner.h"
|
#include "tuner.h"
|
||||||
|
|
||||||
|
/* return the detected tuner type */
|
||||||
int tuner_detect_type(void)
|
int tuner_detect_type(void)
|
||||||
{
|
{
|
||||||
if (si4700_detect()) {
|
if (si4700_detect()) {
|
||||||
return SI4700;
|
return SI4700;
|
||||||
} else if (rda5802_detect()) {
|
|
||||||
return RDA5802;
|
|
||||||
} else {
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
if (rda5802_detect()) {
|
||||||
|
return RDA5802;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue