Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: firmware/target/arm/as3525/sd-as3525v2.c
- ===================================================================
- --- firmware/target/arm/as3525/sd-as3525v2.c (revision 29655)
- +++ firmware/target/arm/as3525/sd-as3525v2.c (working copy)
- @@ -399,9 +399,9 @@
- !send_cmd(drive, SD_APP_CMD, card_info[drive].rca, MCI_RESP, response))
- return false;
- -#if defined(HAVE_MULTIDRIVE)
- - if(sd_present(SD_SLOT_AS3525))
- - GPIOB_PIN(5) = (1-drive) << 5;
- +#if defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS)
- + if (amsv2_variant == 1)
- + GPIOB_PIN(5) = (drive == INTERNAL_AS3525) ? 1 << 5 : 0;
- #endif
- MCI_ARGUMENT = arg;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement