SHARE
TWEET

Untitled

a guest Mar 28th, 2011 102 Never
  1. Index: firmware/target/arm/as3525/sd-as3525v2.c
  2. ===================================================================
  3. --- firmware/target/arm/as3525/sd-as3525v2.c    (revision 29655)
  4. +++ firmware/target/arm/as3525/sd-as3525v2.c    (working copy)
  5. @@ -399,9 +399,9 @@
  6.          !send_cmd(drive, SD_APP_CMD, card_info[drive].rca, MCI_RESP, response))
  7.          return false;
  8.  
  9. -#if defined(HAVE_MULTIDRIVE)
  10. -    if(sd_present(SD_SLOT_AS3525))
  11. -        GPIOB_PIN(5) = (1-drive) << 5;
  12. +#if defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS)
  13. +    if (amsv2_variant == 1)
  14. +        GPIOB_PIN(5) = (drive == INTERNAL_AS3525) ? 1 << 5 : 0;
  15.  #endif
  16.  
  17.      MCI_ARGUMENT = arg;
RAW Paste Data
Top