summaryrefslogtreecommitdiff
path: root/stm/lib/stm324x7i_eval.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-25 16:30:47 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-25 16:30:47 +0000
commit51f3a6becd8566243c12243b7c295de1fcabc388 (patch)
tree2ebaa09b139307ead6e42c6ff6aa77fb03459993 /stm/lib/stm324x7i_eval.c
parentb829b5caecd1ba4fbc30e03978776d2c868dd67b (diff)
stm: Improved ADC module; add BOARD_NAME config value.
Diffstat (limited to 'stm/lib/stm324x7i_eval.c')
-rw-r--r--stm/lib/stm324x7i_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/lib/stm324x7i_eval.c b/stm/lib/stm324x7i_eval.c
index fa9fff31f..c1be681f1 100644
--- a/stm/lib/stm324x7i_eval.c
+++ b/stm/lib/stm324x7i_eval.c
@@ -122,7 +122,7 @@ void SD_LowLevel_Init(void)
GPIO_Init(GPIOC, &GPIO_InitStructure);
/*!< Configure SD_SPI_DETECT_PIN pin: SD Card detect pin */
-#if defined(PYBOARD)
+#if defined(PYBOARD3)
// dpgeorge: PYBv2-v3: switch is normally open, connected to VDD when card inserted
GPIO_InitStructure.GPIO_Pin = SD_DETECT_PIN;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz; // needs to be 2MHz due to restrictions on PC13