From d3fde76fc7842f231888cf7d4e7ba11251c5f13d Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 16 Aug 2005 06:50:25 +0000 Subject: FM radio simulation working again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-fmrecorder.h | 6 +++--- firmware/export/config-h100.h | 4 ++-- firmware/export/config-h120.h | 4 ++-- firmware/export/config-ondiofm.h | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'firmware') diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h index b54d963c5c..40ba404a82 100644 --- a/firmware/export/config-fmrecorder.h +++ b/firmware/export/config-fmrecorder.h @@ -21,6 +21,9 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0x8000 +/* Define this if you have an FM Radio */ +#define CONFIG_TUNER S1A0903X01 + #ifndef SIMULATOR /* Define this if you have a MAS3587F */ @@ -62,9 +65,6 @@ /* FM recorders can wake up from RTC alarm */ #define HAVE_ALARM_MOD 1 -/* Define this if you have an FM Radio */ -#define CONFIG_TUNER S1A0903X01 - /* How to detect USB */ #define USB_FMRECORDERSTYLE 1 diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index db6ecbf8ea..1fd73c25d3 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -47,11 +47,11 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0xC0000 -#ifndef SIMULATOR - #define CONFIG_TUNER TEA5767 #define CONFIG_TUNER_XTAL 32768000 +#ifndef SIMULATOR + /* Define this if you have a Motorola SCF5249 */ #define CONFIG_CPU MCF5249 diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index 0d374c3947..a1828efad2 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h @@ -43,11 +43,11 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0xC0000 -#ifndef SIMULATOR - #define CONFIG_TUNER TEA5767 #define CONFIG_TUNER_XTAL 32768000 +#ifndef SIMULATOR + /* Define this if you have a Motorola SCF5249 */ #define CONFIG_CPU MCF5249 diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h index 0b15b39294..1b2857668a 100644 --- a/firmware/export/config-ondiofm.h +++ b/firmware/export/config-ondiofm.h @@ -18,6 +18,10 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0x8000 +/* Define this if you have an FM Radio */ +#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */ +#define CONFIG_TUNER_XTAL 13000000 + #ifndef SIMULATOR /* Define this if you have a SH7034 */ @@ -50,10 +54,6 @@ /* Offset ( in the firmware file's header ) to the real data */ #define FIRMWARE_OFFSET_FILE_DATA 24 -/* Define this if you have an FM Radio */ -#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */ -#define CONFIG_TUNER_XTAL 13000000 - /* Define this if the tuner is switched on by software */ #define HAVE_TUNER_PWR_CTRL -- cgit v1.2.3