From 4b2c8eebabfe3e2637e314b23eedaebc4c2f1530 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 6 Feb 2018 19:36:36 +0000 Subject: Fixed instances of systime_t used as intervals. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11463 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/simulator/console.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/simulator/console.c b/os/hal/ports/simulator/console.c index c2fe6bc48..4a0c2b44c 100644 --- a/os/hal/ports/simulator/console.c +++ b/os/hal/ports/simulator/console.c @@ -76,7 +76,7 @@ static msg_t _get(void *ip) { return fgetc(stdin); } -static msg_t _putt(void *ip, uint8_t b, systime_t time) { +static msg_t _putt(void *ip, uint8_t b, sysinterval_t time) { (void)ip; (void)time; @@ -86,7 +86,7 @@ static msg_t _putt(void *ip, uint8_t b, systime_t time) { return MSG_OK; } -static msg_t _gett(void *ip, systime_t time) { +static msg_t _gett(void *ip, sysinterval_t time) { (void)ip; (void)time; @@ -94,7 +94,7 @@ static msg_t _gett(void *ip, systime_t time) { return fgetc(stdin); } -static size_t _writet(void *ip, const uint8_t *bp, size_t n, systime_t time) { +static size_t _writet(void *ip, const uint8_t *bp, size_t n, sysinterval_t time) { size_t ret; (void)ip; @@ -105,7 +105,7 @@ static size_t _writet(void *ip, const uint8_t *bp, size_t n, systime_t time) { return ret; } -static size_t _readt(void *ip, uint8_t *bp, size_t n, systime_t time) { +static size_t _readt(void *ip, uint8_t *bp, size_t n, sysinterval_t time) { (void)ip; (void)time; -- cgit v1.2.3