diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-25 16:30:47 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-25 16:30:47 +0000 |
commit | 51f3a6becd8566243c12243b7c295de1fcabc388 (patch) | |
tree | 2ebaa09b139307ead6e42c6ff6aa77fb03459993 /stm/lib/stm324x7i_eval.c | |
parent | b829b5caecd1ba4fbc30e03978776d2c868dd67b (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.c | 2 |
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
|