aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c')
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
index ce239c23e..1a2b4df63 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
@@ -16,7 +16,7 @@
#include "ch.h"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
/*
* This is a periodic thread that does absolutely nothing except flashing LEDs.
@@ -76,7 +76,7 @@ int main(void) {
*/
while (true) {
if (palReadPad(GPIOA, GPIOA_WKUP_BUTTON))
- TestThread(&SD2);
+ test_execute((BaseSequentialStream *)&SD2);
chThdSleepMilliseconds(500);
}
}