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:
Lucien Mueller 2020-08-06 15:38:42 +02:00
parent 567a630018
commit 93a35c7311
1 changed files with 5 additions and 1 deletions

View File

@ -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 */