summaryrefslogtreecommitdiffstats
path: root/firmware/export/config
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/xduoox3.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index e859dff51e..e5b5ed9a10 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -152,10 +152,9 @@
/* Define this if you have a Ingenic JZ4760B */
#define CONFIG_CPU JZ4760B
-/* We have adjustable frequency */
+/* If we have adjustable frequency */
#define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48!
#define CPUFREQ_MIN 192000000
-#define CPUFREQ_DEFAULT CPUFREQ_MIN
#define CPUFREQ_NORMAL CPUFREQ_MIN
#ifndef BOOTLOADER
@@ -163,7 +162,10 @@
#define HAVE_GUI_BOOST
#endif
-#ifndef HAVE_ADJUSTABLE_CPU_FREQ
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+#define CPUFREQ_DEFAULT CPUFREQ_MIN
+#else
+#define CPUFREQ_DEFAULT CPUFREQ_MAX
#define CPU_FREQ CPUFREQ_MAX
#endif