From 6110e63719f73f20a92d9317a2729c58b5d9fea0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 7 Oct 2014 14:37:38 +0000 Subject: [PATCH] Small improvement. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7385 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c index e15a570e6..c71c3103b 100644 --- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c +++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c @@ -33,11 +33,15 @@ static void Thread1(void const *arg) { } } +/* + * Thread definition block. + */ +osThreadDef(Thread1, osPriorityAboveNormal, 1, 128); + /* * Application entry point. */ int main(void) { - osThreadDef(Thread1, osPriorityAboveNormal, 1, 128); /* HAL initialization, this also initializes the configured device drivers and performs the board-specific initializations.*/