nmhw21: deactivate rs232 reset.
This makes it possible to boot normaly with disconnected uart line. Previously the system booted into recovery in that case. BugzID: 65200 Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
parent
567a630018
commit
93a35c7311
|
|
@ -1298,6 +1298,8 @@ static int check_button(int time, bool button)
|
|||
return act;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
static int check_break_length(int time, bool rx_line)
|
||||
{
|
||||
/*
|
||||
|
|
@ -1403,6 +1405,8 @@ static int check_break_length(int time, bool rx_line)
|
|||
return act;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static int check_break_command(int time, int has_input, int c)
|
||||
{
|
||||
/*
|
||||
|
|
@ -1541,7 +1545,7 @@ static void check_reset_button(void)
|
|||
a_[1] = NONE;
|
||||
a_[2] = NONE;
|
||||
a_[0] = check_button(counter, button);
|
||||
a_[1] = check_break_length(counter, rx_line);
|
||||
/* a_[1] = check_break_length(counter, rx_line); */
|
||||
a_[2] = check_break_command(counter, has_input, c);
|
||||
|
||||
/* if all SMs are sure there is not action, stop here */
|
||||
|
|
|
|||
Loading…
Reference in New Issue