aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/Posix/console.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/os/hal/platforms/Posix/console.c b/os/hal/platforms/Posix/console.c
index dbbfbf661..28c0b94ce 100644
--- a/os/hal/platforms/Posix/console.c
+++ b/os/hal/platforms/Posix/console.c
@@ -74,36 +74,36 @@ 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, systime_t timeout) {
(void)ip;
- (void)time;
+ (void)timeout;
fputc(b, stdout);
fflush(stdout);
return RDY_OK;
}
-static msg_t gett(void *ip, systime_t time) {
+static msg_t gett(void *ip, systime_t timeout) {
(void)ip;
- (void)time;
+ (void)timeout;
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, systime_t timeout) {
size_t ret;
(void)ip;
- (void)time;
+ (void)timeout;
ret = fwrite(bp, 1, n, stdout);
fflush(stdout);
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, systime_t timeout) {
(void)ip;
- (void)time;
+ (void)timeout;
return fread(bp, 1, n, stdin);
}