Allow selection of slip port
This commit is contained in:
parent
6852c0cb03
commit
9fec648b3e
3 changed files with 22 additions and 11 deletions
|
@ -76,7 +76,7 @@ static FILE slip_stdout = FDEV_SETUP_STREAM(slip_putchar, NULL,
|
|||
void
|
||||
slip_arch_init(unsigned long ubr)
|
||||
{
|
||||
rs232_set_input(RS232_PORT_0, slip_input_byte);
|
||||
rs232_set_input(SLIP_PORT, slip_input_byte);
|
||||
stdout = &slip_stdout;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue