mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Made it somewhat more obvious that this is SLIP-only.
This commit is contained in:
parent
a0134ff35e
commit
7f3fcbd8e7
@ -42,15 +42,14 @@
|
||||
|
||||
#include "dev/slip.h"
|
||||
|
||||
#if WITH_SLIP
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
slip_arch_init(unsigned long ubr)
|
||||
{
|
||||
unsigned err;
|
||||
|
||||
#if WITH_SLIP
|
||||
err = ser_install(STATIC_DRIVER);
|
||||
#endif /* WITH_SLIP */
|
||||
if(err == SER_ERR_OK) {
|
||||
err = ser_open((struct ser_params *)config.slip);
|
||||
if(err == SER_ERR_OK)
|
||||
@ -82,3 +81,4 @@ slip_arch_poll(void)
|
||||
slip_input_byte(c);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* WITH_SLIP */
|
||||
|
Loading…
Reference in New Issue
Block a user