aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-09 20:29:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-09 20:29:28 +0000
commitae568007d949c5ac8e40bbac2b167529fa226fb6 (patch)
tree85bafe0a0c4b52b69eb5609e7579c27af507a08e /test
parentabfc472a5c370de0d5e29e4bedde04575f6fd94b (diff)
downloadChibiOS-ae568007d949c5ac8e40bbac2b167529fa226fb6.tar.gz
ChibiOS-ae568007d949c5ac8e40bbac2b167529fa226fb6.tar.bz2
ChibiOS-ae568007d949c5ac8e40bbac2b167529fa226fb6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1406 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/coverage/console.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/coverage/console.c b/test/coverage/console.c
index d35bc3850..e6e9a1be8 100644
--- a/test/coverage/console.c
+++ b/test/coverage/console.c
@@ -33,10 +33,6 @@
*/
BaseChannel CD1;
-/*
- * Interface implementation, the following functions just invoke the equivalent
- * queue-level function or macro.
- */
static bool_t putwouldblock(void *ip) {
(void)ip;
@@ -46,7 +42,7 @@ static bool_t putwouldblock(void *ip) {
static bool_t getwouldblock(void *ip) {
(void)ip;
- return FALSE; /******************************/
+ return TRUE;
}
static msg_t put(void *ip, uint8_t b, systime_t timeout) {
@@ -62,7 +58,7 @@ static msg_t get(void *ip, systime_t timeout) {
(void)ip;
(void)timeout;
- return 0;
+ return fgetc(stdin);
}
static const struct BaseChannelVMT vmt = {