aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp')
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
index b16f9ad69..5f714836c 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
@@ -16,7 +16,7 @@
#include "ch.hpp"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
using namespace chibios_rt;
@@ -129,7 +129,7 @@ protected:
setName("tester");
- TestThread(&SD2);
+ test_execute((BaseSequentialStream *)&SD2);
exit(test_global_fail);
}