aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-05-08 17:28:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-05-08 17:28:23 +0000
commit2a2b5fd348d9fcb9c1c996ea6e7ea7d362f0e9c4 (patch)
tree2d864346731078a87f4ba187146ce553d81353c9 /test
parentd0a2e55ed0cf97be924ebbdae2497fd77bfac5b6 (diff)
downloadChibiOS-2a2b5fd348d9fcb9c1c996ea6e7ea7d362f0e9c4.tar.gz
ChibiOS-2a2b5fd348d9fcb9c1c996ea6e7ea7d362f0e9c4.tar.bz2
ChibiOS-2a2b5fd348d9fcb9c1c996ea6e7ea7d362f0e9c4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4176 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index 09596e592..beb0bfd3b 100644
--- a/test/test.c
+++ b/test/test.c
@@ -130,7 +130,7 @@ void test_print(const char *msgp) {
void test_println(const char *msgp) {
test_print(msgp);
- chSequentialStreamWrite(chp, (const uint8_t *)"\r\n", 1);
+ chSequentialStreamWrite(chp, (const uint8_t *)"\r\n", 2);
}
/*
@@ -311,7 +311,7 @@ static void print_line(void) {
for (i = 0; i < 76; i++)
_putc(chp, '-');
- chSequentialStreamWrite(chp, (const uint8_t *)"\r\n", 1);
+ chSequentialStreamWrite(chp, (const uint8_t *)"\r\n", 2);
}
/**