diff options
Diffstat (limited to 'demos/ARMCM0-LPC1114-GCC/main.c')
-rw-r--r-- | demos/ARMCM0-LPC1114-GCC/main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/ARMCM0-LPC1114-GCC/main.c b/demos/ARMCM0-LPC1114-GCC/main.c index 0072f0958..0dd187ecd 100644 --- a/demos/ARMCM0-LPC1114-GCC/main.c +++ b/demos/ARMCM0-LPC1114-GCC/main.c @@ -18,8 +18,8 @@ */
#include "ch.h"
-#include "hal.h"
-#include "test.h"
+//#include "hal.h"
+//#include "test.h"
/*
* Red LEDs blinker thread, times are in milliseconds.
@@ -29,9 +29,9 @@ static msg_t Thread1(void *arg) { (void)arg;
while (TRUE) {
- palClearPad(IOPORT3, GPIOC_LED);
+// palClearPad(IOPORT3, GPIOC_LED);
chThdSleepMilliseconds(500);
- palSetPad(IOPORT3, GPIOC_LED);
+// palSetPad(IOPORT3, GPIOC_LED);
chThdSleepMilliseconds(500);
}
return 0;
@@ -49,7 +49,7 @@ int main(int argc, char **argv) { /*
* Activates the serial driver 2 using the driver default configuration.
*/
- sdStart(&SD2, NULL);
+// sdStart(&SD2, NULL);
/*
* Creates the blinker thread.
@@ -61,8 +61,8 @@ int main(int argc, char **argv) { * sleeping in a loop and check the button state.
*/
while (TRUE) {
- if (palReadPad(IOPORT1, GPIOA_BUTTON))
- TestThread(&SD2);
+// if (palReadPad(IOPORT1, GPIOA_BUTTON))
+// TestThread(&SD2);
chThdSleepMilliseconds(500);
}
return 0;
|