diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-26 06:17:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-26 06:17:10 +0000 |
commit | c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c (patch) | |
tree | 53c0ebd122fe369cc08b4ed3bf885ba39e9a07f1 /demos/STM32/RT-STM32L053R8-NUCLEO/main.c | |
parent | b05e7e8c4464bda8fecd21ff80086a34edf9292c (diff) | |
download | ChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.tar.gz ChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.tar.bz2 ChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.zip |
More STM32L0xx support files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8104 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32L053R8-NUCLEO/main.c')
-rw-r--r-- | demos/STM32/RT-STM32L053R8-NUCLEO/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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);
}
}
|