From bd78dc7693743e35a854d3a615a20474a7a450b2 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 20 Jul 2010 06:26:39 +0000 Subject: The new Fuzev2 use the same FM chip than some Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27502 a1c6a512-1295-4272-9138-f99709370657 --- .../arm/as3525/sansa-clipplus/tuner-clipplus.c | 38 ---------------------- firmware/target/arm/as3525/tuner-as3525v2.c | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c create mode 100644 firmware/target/arm/as3525/tuner-as3525v2.c (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c b/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c deleted file mode 100644 index 3e911c2e13..0000000000 --- a/firmware/target/arm/as3525/sansa-clipplus/tuner-clipplus.c +++ /dev/null @@ -1,38 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Multi-tuner detection module to select between the Si4700 and the RDA5802 - * - * Copyright (C) 2010 Bertrik Sikken - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ -#include "config.h" -#include -#include "tuner.h" - -/* return the detected tuner type */ -int tuner_detect_type(void) -{ - if (si4700_detect()) { - return SI4700; - } - if (rda5802_detect()) { - return RDA5802; - } - return 0; -} - diff --git a/firmware/target/arm/as3525/tuner-as3525v2.c b/firmware/target/arm/as3525/tuner-as3525v2.c new file mode 100644 index 0000000000..3e911c2e13 --- /dev/null +++ b/firmware/target/arm/as3525/tuner-as3525v2.c @@ -0,0 +1,38 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Multi-tuner detection module to select between the Si4700 and the RDA5802 + * + * Copyright (C) 2010 Bertrik Sikken + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#include "config.h" +#include +#include "tuner.h" + +/* return the detected tuner type */ +int tuner_detect_type(void) +{ + if (si4700_detect()) { + return SI4700; + } + if (rda5802_detect()) { + return RDA5802; + } + return 0; +} + -- cgit v1.2.3