diff options
Diffstat (limited to 'demos/STM32/RT-STM32F042K6-NUCLEO32')
-rw-r--r-- | demos/STM32/RT-STM32F042K6-NUCLEO32/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c index e8272659a..da36cadbd 100644 --- a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c @@ -26,7 +26,7 @@ static THD_FUNCTION(Thread1, arg) { (void)arg;
chRegSetThreadName("blinker");
- palSetLineMode(LINE_LED_GREEN, PAL_MODE_OUTPUT_PUSHPULL);
+
while (true) {
palClearLine(LINE_LED_GREEN);
chThdSleepMilliseconds(500);
|