aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F37x/ADC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F37x/ADC/main.c')
-rw-r--r--testhal/STM32F37x/ADC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F37x/ADC/main.c b/testhal/STM32F37x/ADC/main.c
index b9a481825..b54733dae 100644
--- a/testhal/STM32F37x/ADC/main.c
+++ b/testhal/STM32F37x/ADC/main.c
@@ -106,8 +106,8 @@ static const ADCConversionGroup adcgrpcfg2 = {
/*
* Red LEDs blinker thread, times are in milliseconds.
*/
-static WORKING_AREA(waThread1, 128);
-static msg_t Thread1(void *arg) {
+static THD_WORKING_AREA(waThread1, 128);
+static THD_FUNCTION(Thread1, arg) {
(void)arg;
chRegSetThreadName("blinker");