aboutsummaryrefslogtreecommitdiffstats
path: root/demos/NRF51
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-04-03 23:05:56 -0300
committerFabio Utzig <utzig@utzig.org>2016-04-03 23:05:56 -0300
commitd136a573cac8b1ece2c027f6085d7bc4f4bf1c6f (patch)
tree203ed40dae219438a747573a89ce66d5826d9fcb /demos/NRF51
parent7e7670b4f849b1c48527bf2b6162754e31e1ce36 (diff)
downloadChibiOS-Contrib-d136a573cac8b1ece2c027f6085d7bc4f4bf1c6f.tar.gz
ChibiOS-Contrib-d136a573cac8b1ece2c027f6085d7bc4f4bf1c6f.tar.bz2
ChibiOS-Contrib-d136a573cac8b1ece2c027f6085d7bc4f4bf1c6f.zip
Fix test API usage
Diffstat (limited to 'demos/NRF51')
-rw-r--r--demos/NRF51/RT-WVSHARE_BLE400/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/main.c b/demos/NRF51/RT-WVSHARE_BLE400/main.c
index d0b18cc..6b25a64 100644
--- a/demos/NRF51/RT-WVSHARE_BLE400/main.c
+++ b/demos/NRF51/RT-WVSHARE_BLE400/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) {
@@ -63,7 +63,7 @@ int main(void) {
*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
- TestThread(&SD1);
+ test_execute((BaseSequentialStream *)&SD1);
while (1) {
chThdSleepMilliseconds(500);
}