diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-01-03 06:00:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-04 14:10:13 +0100 |
commit | 4c4fae147d7aec31f3a4f43cce35b5708c26e0c3 (patch) | |
tree | 470a50af20c9d516519e93731754f8a754a9d092 /common/console.c | |
parent | b5ba23865b30f05ec8a0ce8a165bbf547ef78fd0 (diff) | |
download | barebox-4c4fae147d7aec31f3a4f43cce35b5708c26e0c3.tar.gz barebox-4c4fae147d7aec31f3a4f43cce35b5708c26e0c3.tar.xz |
poller_call: move from getc to is_timeout
this will allow to always call poller_call even durring timeout
and still the case in getc
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c index cab8689252..88c40101a6 100644 --- a/common/console.c +++ b/common/console.c @@ -225,8 +225,6 @@ int getc(void) */ start = get_time_ns(); while (1) { - poller_call(); - if (tstc_raw()) { kfifo_putc(console_input_buffer, getc_raw()); |