From c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 26 Jul 2015 06:17:10 +0000 Subject: More STM32L0xx support files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8104 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32L053R8-NUCLEO/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos/STM32/RT-STM32L053R8-NUCLEO/main.c') diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/main.c b/demos/STM32/RT-STM32L053R8-NUCLEO/main.c index 3d4244102..bd50f191d 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO/main.c +++ b/demos/STM32/RT-STM32L053R8-NUCLEO/main.c @@ -52,7 +52,7 @@ int main(void) { /* * Activates the serial driver 2 using the driver default configuration. */ -// sdStart(&SD2, NULL); + sdStart(&SD2, NULL); /* * Creates the blinker thread. @@ -64,8 +64,8 @@ int main(void) { * sleeping in a loop and check the button state. */ while (true) { -// if (!palReadPad(GPIOC, GPIOC_BUTTON)) -// TestThread(&SD2); + if (!palReadPad(GPIOC, GPIOC_BUTTON)) + TestThread(&SD2); chThdSleepMilliseconds(500); } } -- cgit v1.2.3