aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F103-OLIMEX_STM32_P103')
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
index 414ed96b7..8e32a3ac4 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
@@ -16,7 +16,7 @@
#include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
/*
* Blinker thread.
@@ -68,7 +68,7 @@ int main(void) {
*/
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- test_execute((BaseSequentialStream *)&SD2);
+ test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
chThdSleepMilliseconds(500);
}
}