diff options
Diffstat (limited to 'demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c')
-rw-r--r-- | demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c index 0f9fb4b15..888d9d501 100644 --- a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c +++ b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/main.c @@ -54,7 +54,7 @@ int main(void) { * Activates the serial driver 1 using the driver default configuration.
* PA9(TX) and PA10(RX) are routed to USART1.
*/
- sdStart(&SD1, NULL);
+ sdStart(&SD2, NULL);
/*
* Creates the example thread.
@@ -68,7 +68,7 @@ int main(void) { */
while (TRUE) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- TestThread(&SD1);
+ TestThread(&SD2);
chThdSleepMilliseconds(500);
}
}
|