diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-12 18:51:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-12 18:51:48 +0000 |
commit | 4d832fdf1c1ca932d16198df7b3c04dcd083e7e2 (patch) | |
tree | 39536ef89e04c6e25e29ad18fd0f1b6833d84cd5 /os/hal | |
parent | 50254892c53ac6fee9106c3362b2990505420189 (diff) | |
download | ChibiOS-4d832fdf1c1ca932d16198df7b3c04dcd083e7e2.tar.gz ChibiOS-4d832fdf1c1ca932d16198df7b3c04dcd083e7e2.tar.bz2 ChibiOS-4d832fdf1c1ca932d16198df7b3c04dcd083e7e2.zip |
Few fixes to the new code after the batch build test.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1592 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/Linux/console.c | 3 | ||||
-rw-r--r-- | os/hal/platforms/Win32/console.c | 3 |
2 files changed, 2 insertions, 4 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
};
/*===========================================================================*/
diff --git a/os/hal/platforms/Win32/console.c b/os/hal/platforms/Win32/console.c index 7c6bd705d..20443dcaf 100644 --- a/os/hal/platforms/Win32/console.c +++ b/os/hal/platforms/Win32/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
};
/*===========================================================================*/
|