summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/sansaclipv2.h
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-01-19 00:21:10 +0100
committerMichael Giacomelli <giac2000@hotmail.com>2016-01-21 19:26:00 +0100
commit3f54101858210c921e6d0039f29f649459a9a1a9 (patch)
tree5b24f6a71922e58d853e0df778afe8ed9eccd8da /firmware/export/config/sansaclipv2.h
parent7432af09580a2e88fbc47271b38d02dfc0c79837 (diff)
downloadrockbox-3f54101858210c921e6d0039f29f649459a9a1a9.tar.gz
rockbox-3f54101858210c921e6d0039f29f649459a9a1a9.tar.bz2
rockbox-3f54101858210c921e6d0039f29f649459a9a1a9.zip
Enable frequency scaling on AMSv2 devices.
Voltage scaling is not yet enabled, but will follow once we are sure these changes are stable. Preliminary testing suggests a large increase in battery life, which will be further improved by voltage scaling. Patch by Mihail Zenkov with help from myself and others on the forums. Change-Id: I171d20bbee19a48c13cd14efb0d023883cc8c687
Diffstat (limited to 'firmware/export/config/sansaclipv2.h')
-rw-r--r--firmware/export/config/sansaclipv2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index 8b0b84c1d0..d163d116cf 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -172,7 +172,7 @@
#define CURRENT_MAX_CHG 150
/* Define this to the CPU frequency */
-#define CPU_FREQ 240000000
+#define CPU_FREQ 192000000
/* Type of LCD */
#define CONFIG_LCD LCD_SSD1303
@@ -190,7 +190,7 @@
#define CONFIG_LED LED_VIRTUAL
/* Define this if you have adjustable CPU frequency */
-//#define HAVE_ADJUSTABLE_CPU_FREQ
+#define HAVE_ADJUSTABLE_CPU_FREQ
#define BOOTFILE_EXT "sansa"
#define BOOTFILE "rockbox." BOOTFILE_EXT