From 79cfc221a5f9a46f220875e5222e3143479f1c1f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 15 May 2010 16:21:47 +0000 Subject: fuzev2: fix buttonlight flashing on µSD access (2nd try) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- firmware/target/arm/as3525/sd-as3525v2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'firmware/target/arm/as3525/sd-as3525v2.c') 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) /* Rx watermark = 63(sd reads) Tx watermark = 128 (sd writes) */ MCI_FIFOTH = (MCI_FIFOTH & MCI_FIFOTH_MASK) | 0x503f0080; - GPIOB_DIR |= (1<<5); /* Set pin B5 to output */ - /* Mask all MCI Interrupts initially */ MCI_MASK = 0; -- cgit v1.2.3