aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/Linux/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/Linux/console.c')
-rw-r--r--os/hal/platforms/Linux/console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/platforms/Linux/console.c b/os/hal/platforms/Linux/console.c
index 7c6bd705d..20443dcaf 100644
--- a/os/hal/platforms/Linux/console.c
+++ b/os/hal/platforms/Linux/console.c
@@ -107,8 +107,7 @@ static size_t readt(void *ip, uint8_t *bp, size_t n, systime_t time) {
}
static const struct BaseChannelVMT vmt = {
- {writes, reads},
- {putwouldblock, getwouldblock, putt, gett, writet, readt}
+ writes, reads, putwouldblock, getwouldblock, putt, gett, writet, readt
};
/*===========================================================================*/