From 6745ca4844231f2b66a60cfa545f81b7b8b5cb36 Mon Sep 17 00:00:00 2001 From: mc2739 Date: Thu, 25 Feb 2010 00:02:58 +0000 Subject: [PATCH] Revert r24898 and fix yellow properly so that register is still read git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24899 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/sd-as3525v2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index 6da7d1f74..52db0c042 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c @@ -530,7 +530,8 @@ static void sd_thread(void) static void init_controller(void) { -// int temp = MCI_HCON; /* we just need to read HCON */ + int temp = MCI_HCON; /* we just need to read HCON */ + (void)temp; // panicf("HCON: %8x",temp); // int idx = (MCI_HCON >> 1) & 31; /* Maximum card Index */ // int idx_bits = (1 << idx) -1; -- 2.11.4.GIT