summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-26 18:02:46 +0100
committerDamien <damien.p.george@gmail.com>2013-10-26 18:02:46 +0100
commit5892f4710e73714fa9048959c63b777490c1a68b (patch)
treeeb9cdcf5e6b38850768983e477ac52942536455a
parent8f7491a109a555ca897ae49efe98f4cc2b080311 (diff)
downloadmicropython-5892f4710e73714fa9048959c63b777490c1a68b.tar.gz
micropython-5892f4710e73714fa9048959c63b777490c1a68b.zip
Working SD card, but no functionality yet (was hardware error).
-rw-r--r--stm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 47907dd5c9..0837f1972f 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;