aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c')
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
index 35321bf62..c8c8e44fe 100644
--- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
+++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
@@ -29,9 +29,9 @@ static msg_t Thread1(void *arg) {
(void)arg;
while (TRUE) {
- palClearPad(GPIOD, PD_LD10);
+// palClearPad(GPIOD, PD_LD10);
chThdSleepMilliseconds(500);
- palSetPad(GPIOD, PD_LD10);
+// palSetPad(GPIOD, PD_LD10);
chThdSleepMilliseconds(500);
}
return 0;
@@ -55,7 +55,7 @@ void main(void) {
/*
* Activates the serial driver 1 using the driver default configuration.
*/
- sdStart(&SD2, NULL);
+// sdStart(&SD2, NULL);
/*
* Creates the blinker thread.
@@ -66,10 +66,10 @@ void main(void) {
* Normal main() thread activity.
*/
while (TRUE) {
- if (palReadPad(GPIOG, 0) == PAL_LOW)
- TestThread(&SD2);
- if (palReadPad(GPIOG, 1) == PAL_LOW)
- sdWriteTimeout(&SD2, "Hello World!\r\n", 14, TIME_INFINITE);
+// if (palReadPad(GPIOG, 0) == PAL_LOW)
+// TestThread(&SD2);
+// if (palReadPad(GPIOG, 1) == PAL_LOW)
+// sdWriteTimeout(&SD2, "Hello World!\r\n", 14, TIME_INFINITE);
chThdSleepMilliseconds(1000);
}
}