diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-04 13:38:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-04 13:38:53 +0000 |
commit | e619097f77edeceb5e8c38dc7e614c7fccd36cbf (patch) | |
tree | d168bb87afd7245e4af1a4420ffc1cbf44600c38 /demos/ARMCM4-STM32F303-DISCOVERY/main.c | |
parent | 7ece1d7e496df82ee78f94b455c02942258d173a (diff) | |
download | ChibiOS-e619097f77edeceb5e8c38dc7e614c7fccd36cbf.tar.gz ChibiOS-e619097f77edeceb5e8c38dc7e614c7fccd36cbf.tar.bz2 ChibiOS-e619097f77edeceb5e8c38dc7e614c7fccd36cbf.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6073 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F303-DISCOVERY/main.c')
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/main.c b/demos/ARMCM4-STM32F303-DISCOVERY/main.c index ed10165af..e12a55fda 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/main.c +++ b/demos/ARMCM4-STM32F303-DISCOVERY/main.c @@ -101,9 +101,9 @@ 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);
- palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
- palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
+// sdStart(&SD1, NULL);
+// palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
+// palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
/*
* Creates the example thread.
@@ -117,8 +117,8 @@ int main(void) { * pressed the test procedure is launched.
*/
while (TRUE) {
- if (palReadPad(GPIOA, GPIOA_BUTTON))
- TestThread(&SD1);
+// if (palReadPad(GPIOA, GPIOA_BUTTON))
+// TestThread(&SD1);
chThdSleepMilliseconds(500);
}
}
|