From 5892f4710e73714fa9048959c63b777490c1a68b Mon Sep 17 00:00:00 2001 From: Damien Date: Sat, 26 Oct 2013 18:02:46 +0100 Subject: [PATCH] Working SD card, but no functionality yet (was hardware error). --- stm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm/main.c b/stm/main.c index 47907dd5c..0837f1972 100644 --- a/stm/main.c +++ b/stm/main.c @@ -612,7 +612,7 @@ int main(void) { // enable the CCM RAM and the GPIO's RCC->AHB1ENR |= RCC_AHB1ENR_CCMDATARAMEN | RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN | RCC_AHB1ENR_GPIOCEN; - // configure SDIO pins to be high to start with (doesn't seem to fix problem...) + // configure SDIO pins to be high to start with (apparently makes it more robust) { GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8 | GPIO_Pin_9 | GPIO_Pin_10 | GPIO_Pin_11 | GPIO_Pin_12;