summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sd-as3525v2.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-15 16:21:47 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-15 16:21:47 +0000
commit79cfc221a5f9a46f220875e5222e3143479f1c1f (patch)
tree2a795dbe773957cf2e4bd1d4e63803fe5f508961 /firmware/target/arm/as3525/sd-as3525v2.c
parent90ea991dff11bcb3cfc411d895115669ace8e636 (diff)
downloadrockbox-79cfc221a5f9a46f220875e5222e3143479f1c1f.tar.gz
rockbox-79cfc221a5f9a46f220875e5222e3143479f1c1f.zip
fuzev2: fix buttonlight flashing on µSD access (2nd try)
it would still flash when the light was off it turns out that if B5 is set to input the light can't be turned on but we can still select between µSD slot and internal storage git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26059 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 94ba019183..37d72217b3 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -700,8 +700,6 @@ static void init_controller(void)
700 /* Rx watermark = 63(sd reads) Tx watermark = 128 (sd writes) */ 700 /* Rx watermark = 63(sd reads) Tx watermark = 128 (sd writes) */
701 MCI_FIFOTH = (MCI_FIFOTH & MCI_FIFOTH_MASK) | 0x503f0080; 701 MCI_FIFOTH = (MCI_FIFOTH & MCI_FIFOTH_MASK) | 0x503f0080;
702 702
703 GPIOB_DIR |= (1<<5); /* Set pin B5 to output */
704
705 /* Mask all MCI Interrupts initially */ 703 /* Mask all MCI Interrupts initially */
706 MCI_MASK = 0; 704 MCI_MASK = 0;
707 705