From a21ea7128bf738c458449ac51361fbb45834f447 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 5 May 2016 00:55:57 +0000 Subject: Completed STM32L0xx port adding STM32L011xx support, Added STM32 Nucleo32-L011K4 board files Added demo NIL-STM32L011K4-NUCLEO32 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9414 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F031K6-NUCLEO32/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/STM32/RT-STM32F031K6-NUCLEO32') diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c index c4441b352..09f7ebfb1 100644 --- a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F031K6-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); -- cgit v1.2.3