From c75aac84243abef6a5b7e2e84863cef13931ee8f Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sat, 28 Jul 2018 11:05:59 -0400 Subject: Slightly raise voltage on FuzeV2 devices. Some devices seem to have trouble accessing the storage at lower voltages. --- firmware/target/arm/as3525/system-as3525.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/target/arm/as3525') 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 -- cgit v1.2.3