From ae568007d949c5ac8e40bbac2b167529fa226fb6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 9 Dec 2009 20:29:28 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1406 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/coverage/console.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test') 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 = { -- cgit v1.2.3