aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-29 15:36:00 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-29 15:36:00 +0000
commitc7de7490b130ab01b2f0242a0f0412afb634bbe3 (patch)
tree321e6f6eb7e360add392bf44b4aac26977d1a79b /demos/STM32/RT-STM32F746G-DISCOVERY/main.c
parentda68278385b02505d32cbaa9b623d689ed68cbcf (diff)
downloadChibiOS-c7de7490b130ab01b2f0242a0f0412afb634bbe3.tar.gz
ChibiOS-c7de7490b130ab01b2f0242a0f0412afb634bbe3.tar.bz2
ChibiOS-c7de7490b130ab01b2f0242a0f0412afb634bbe3.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9181 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY/main.c')
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
index c5b7a50da..47616f8ca 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/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
@@ -72,7 +72,7 @@ int main(void) {
*/
while (true) {
if (palReadLine(LINE_BUTTON_USER))
- TestThread(&SD1);
+ test_execute((BaseSequentialStream *)&SD1);
chThdSleepMilliseconds(500);
}
}