diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-15 11:34:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-15 11:34:16 +0000 |
commit | a544f87a38e6f0b4b60113dbec8352d5f6c04104 (patch) | |
tree | eb09ecf7b7ed53ce3ec47a7be96d3307f3e2732c /test/test.c | |
parent | eee0672c0a2da8eae066ca32ac19fa6f974876bb (diff) | |
download | ChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.tar.gz ChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.tar.bz2 ChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2020 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c index 0d52d479b..3a5c93edc 100644 --- a/test/test.c +++ b/test/test.c @@ -110,7 +110,7 @@ void test_printn(uint32_t n) { *
* @param[in] msgp the message
*/
-void test_print(char *msgp) {
+void test_print(const char *msgp) {
while (*msgp)
chIOPut(chp, *msgp++);
@@ -121,7 +121,7 @@ void test_print(char *msgp) { *
* @param[in] msgp the message
*/
-void test_println(char *msgp) {
+void test_println(const char *msgp) {
test_print(msgp);
chIOPut(chp, '\r');
@@ -353,7 +353,7 @@ msg_t TestThread(void *p) { test_print(".");
test_printn(j + 1);
test_print(" (");
- test_print(patterns[i][j]->gettest());
+ test_print(patterns[i][j]->name);
test_println(")");
#if DELAY_BETWEEN_TESTS > 0
chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
|