summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/config-fmrecorder.h3
-rw-r--r--firmware/config-player.h3
-rw-r--r--firmware/config-recorder.h3
-rw-r--r--firmware/system.h6
4 files changed, 10 insertions, 5 deletions
diff --git a/firmware/config-fmrecorder.h b/firmware/config-fmrecorder.h
index ed3454ff7e..3fdb27dfb9 100644
--- a/firmware/config-fmrecorder.h
+++ b/firmware/config-fmrecorder.h
@@ -21,3 +21,6 @@
21 21
22/* Define this if you have a FM Recorder key system */ 22/* Define this if you have a FM Recorder key system */
23#define HAVE_FMADC 1 23#define HAVE_FMADC 1
24
25/* Define this to the CPU frequency */
26#define CPU_FREQ 11059200
diff --git a/firmware/config-player.h b/firmware/config-player.h
index 2068c94db4..f07a41aacc 100644
--- a/firmware/config-player.h
+++ b/firmware/config-player.h
@@ -9,3 +9,6 @@
9 9
10/* Define this if you have a DAC3550A */ 10/* Define this if you have a DAC3550A */
11#define HAVE_DAC3550A 11#define HAVE_DAC3550A
12
13/* Define this to the CPU frequency */
14#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
diff --git a/firmware/config-recorder.h b/firmware/config-recorder.h
index 566758156c..2a38cff7d2 100644
--- a/firmware/config-recorder.h
+++ b/firmware/config-recorder.h
@@ -18,3 +18,6 @@
18 18
19/* Define this if you have ATA power-off control */ 19/* Define this if you have ATA power-off control */
20#define HAVE_ATA_POWER_OFF 20#define HAVE_ATA_POWER_OFF
21
22/* Define this to the CPU frequency */
23#define CPU_FREQ 11059200
diff --git a/firmware/system.h b/firmware/system.h
index 28c33d6c19..d5f1b4ba97 100644
--- a/firmware/system.h
+++ b/firmware/system.h
@@ -23,11 +23,7 @@
23#include "sh7034.h" 23#include "sh7034.h"
24#include "config.h" 24#include "config.h"
25 25
26#ifdef ARCHOS_RECORDER 26#define FREQ CPU_FREQ
27# define FREQ 11059200
28#else
29# define FREQ 12000000 /* cycle time ~83.3ns */
30#endif
31#define BAUDRATE 9600 27#define BAUDRATE 9600
32 28
33#ifndef NULL 29#ifndef NULL