summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2018-07-28 11:05:59 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2018-07-28 11:05:59 -0400
commitc75aac84243abef6a5b7e2e84863cef13931ee8f (patch)
tree1fa1710c9bb13e03109a5431a62e4dda215a6e95
parent3e91ad5df2c32bb28236ec43a660f6287d55530d (diff)
downloadrockbox-c75aac8.tar.gz
rockbox-c75aac8.tar.bz2
rockbox-c75aac8.zip
Slightly raise voltage on FuzeV2 devices.
Some devices seem to have trouble accessing the storage at lower voltages.
-rw-r--r--firmware/target/arm/as3525/system-as3525.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index c11c90f9f3..2cd9145567 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -594,6 +594,9 @@ void set_cpu_frequency(long frequency)
ascodec_write_pmu(0x17, 1, 0x80 | 22);
else
ascodec_write_pmu(0x17, 1, 0x80 | 26);
+#elif defined(SANSA_FUZEV2)
+ /*Some FuzeV2 devices have trouble reading SD at low voltage*/
+ ascodec_write_pmu(0x17, 1, 0x80 | 26);
#else
ascodec_write_pmu(0x17, 1, 0x80 | 22);
#endif