Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // firmware/target/arm/as3525/system-as3525.c [520]
- /* Set CVDD1 power supply */
- #ifdef HAVE_ADJUSTABLE_CPU_VOLTAGE
- #if defined(SANSA_CLIPZIP)
- ascodec_write_pmu(0x17, 1, 0x80 | 20);
- #elif defined(SANSA_CLIPPLUS)
- if (amsv2_variant)
- 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);
- #elif defined(SANSA_M200V4)
- ascodec_write_pmu(0x17, 1, 0x80 | 26);
- #else
- ascodec_write_pmu(0x17, 1, 0x80 | 22);
- #endif
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement