aboutsummaryrefslogtreecommitdiffstats
path: root/demos/KINETIS/RT-FREEDOM-K20D50M
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-04-04 22:18:58 -0300
committerFabio Utzig <utzig@utzig.org>2016-04-04 22:18:58 -0300
commitd7ceec1a01ad9c100bac9daf555c6eafe46e793b (patch)
tree109e127658c72377afb3971b02431ba562f46974 /demos/KINETIS/RT-FREEDOM-K20D50M
parent8514bc2c23dcaa3f0c72b5956861b70e0c6a5eaa (diff)
downloadChibiOS-Contrib-d7ceec1a01ad9c100bac9daf555c6eafe46e793b.tar.gz
ChibiOS-Contrib-d7ceec1a01ad9c100bac9daf555c6eafe46e793b.tar.bz2
ChibiOS-Contrib-d7ceec1a01ad9c100bac9daf555c6eafe46e793b.zip
Fix test thread usage
Diffstat (limited to 'demos/KINETIS/RT-FREEDOM-K20D50M')
-rw-r--r--demos/KINETIS/RT-FREEDOM-K20D50M/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M/main.c b/demos/KINETIS/RT-FREEDOM-K20D50M/main.c
index 9a2ca0e..558e7ad 100644
--- a/demos/KINETIS/RT-FREEDOM-K20D50M/main.c
+++ b/demos/KINETIS/RT-FREEDOM-K20D50M/main.c
@@ -16,7 +16,7 @@
#include "ch.h"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
static THD_WORKING_AREA(waThread1, 64);
static THD_FUNCTION(Thread1, arg) {
@@ -78,7 +78,7 @@ int main(void) {
chThdCreateStatic(waThread2, sizeof(waThread2), NORMALPRIO, Thread2, NULL);
chThdCreateStatic(waThread3, sizeof(waThread3), NORMALPRIO, Thread3, NULL);
- TestThread(&SD1);
+ test_execute((BaseSequentialStream *)&SD1);
while (1) {
chThdSleepMilliseconds(500);
}