Hello Mike,
Mike Frysinger wrote:
> On Sunday 15 January 2012 02:53:40 Heiko Schocher wrote:
>> --- a/common/main.c
>> +++ b/common/main.c
>>
>> +if ((first) && (timeout)) {
>
> those inner parens make no sense
Yep, fixed.
>> +ulong start = get_timer(0);
>> +
On Sunday 15 January 2012 02:53:40 Heiko Schocher wrote:
> --- a/common/main.c
> +++ b/common/main.c
>
> + if ((first) && (timeout)) {
those inner parens make no sense
> + ulong start = get_timer(0);
> + ulong delay = timeout * CONFIG_SYS_HZ;
w
add possibility to add a timeout when reading a line
into a buffer.
Signed-off-by: Heiko Schocher
---
common/cmd_nvedit.c |2 +-
common/main.c | 21 +
common/menu.c |3 ++-
include/common.h|3 ++-
4 files changed, 22 insertions(+), 7 deletions(-)
3 matches
Mail list logo