diff options
Diffstat (limited to 'demos/STM32/RT-STM32F042K6-NUCLEO32')
-rw-r--r-- | demos/STM32/RT-STM32F042K6-NUCLEO32/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c index 0c32bc4d9..e8272659a 100644 --- a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c +++ b/demos/STM32/RT-STM32F042K6-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(&SD2);
+ test_execute((BaseSequentialStream *)&SD2);
chThdSleepMilliseconds(500);
}
}
|