diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-03-16 10:13:44 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-03-16 10:13:44 +0000 |
commit | c476cc79ff54f45cc71bc4446df33e75ac1842ad (patch) | |
tree | 13d1f793d7f84e7fe583b356b2a6c6372440f0ec | |
parent | 422c66c7941cbdf9eba33c7113e07b737e0b61be (diff) | |
download | ChibiOS-c476cc79ff54f45cc71bc4446df33e75ac1842ad.tar.gz ChibiOS-c476cc79ff54f45cc71bc4446df33e75ac1842ad.tar.bz2 ChibiOS-c476cc79ff54f45cc71bc4446df33e75ac1842ad.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6775 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/platforms/Posix/console.c | 16 |
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);
}
|