summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-12 20:43:46 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-12 20:43:46 -0400
commit4d9f190cabd7e17be02ff6beabf55ff471d9c00b (patch)
tree93efb20f60fcbac4d43fcc0f12be07d37b1924d3 /firmware
parentb4e70422a3455e327433a7471c929ef100ef3b10 (diff)
downloadrockbox-4d9f190cabd7e17be02ff6beabf55ff471d9c00b.tar.gz
rockbox-4d9f190cabd7e17be02ff6beabf55ff471d9c00b.tar.bz2
rockbox-4d9f190cabd7e17be02ff6beabf55ff471d9c00b.zip
xduoox3: Fix build when disabling adjustable cpu freq
Change-Id: Ia8526ad81d7a9744972d9c4fb394e61175ad2391
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/xduoox3.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index 999b6b9912..75f9b43cb0 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -152,12 +152,11 @@
#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
#define HAVE_ADJUSTABLE_CPU_FREQ
-#ifdef HAVE_ADJUSTABLE_CPU_FREQ
-//#define HAVE_GUI_BOOST
-#define CPUFREQ_NORMAL CPUFREQ_MIN
-#else
+
+#ifndef HAVE_ADJUSTABLE_CPU_FREQ
#define CPU_FREQ CPUFREQ_MAX
#endif