aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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 = {