aboutsummaryrefslogtreecommitdiffstats
path: root/demos/LPC21xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-16 20:41:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-16 20:41:12 +0000
commit94236f4be7a040aaae3cd6c34cf35870e8008ca4 (patch)
treecb8cd76c9a897c4a3644cfc769303fba0a250a4e /demos/LPC21xx
parent734aea5b10f4d7470d29c07ae51fbd9d9b588205 (diff)
downloadChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.tar.gz
ChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.tar.bz2
ChibiOS-94236f4be7a040aaae3cd6c34cf35870e8008ca4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10838 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/LPC21xx')
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
index 761a7257d..bc52e4f58 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
@@ -16,7 +16,7 @@
#include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
#define BOTH_BUTTONS (PAL_PORT_BIT(PA_BUTTON1) | PAL_PORT_BIT(PA_BUTTON2))
@@ -90,7 +90,7 @@ int main(void) {
if (!palReadPad(IOPORT1, PA_BUTTON1))
sdWrite(&SD1, (uint8_t *)"Hello World!\r\n", 14);
if (!palReadPad(IOPORT1, PA_BUTTON2))
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
chThdSleepMilliseconds(500);
}
return 0;