aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F031K6-NUCLEO32/main.c')
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
index 3dd4caa35..c4441b352 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
@@ -16,7 +16,7 @@
#include "ch.h"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
/*
* Green LED blinker thread, times are in milliseconds.
@@ -66,7 +66,7 @@ int main(void) {
*/
while (true) {
if (!palReadLine(LINE_ARD_D3))
- TestThread(&SD1);
+ test_execute((BaseSequentialStream *)&SD1);
chThdSleepMilliseconds(500);
}
}