From 7f3fcbd8e7b3f1c4d8d7c7aa2a40128e0cc20ddd Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sat, 18 Mar 2017 14:19:36 +0100 Subject: [PATCH] Made it somewhat more obvious that this is SLIP-only. --- cpu/6502/net/slip_arch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/6502/net/slip_arch.c b/cpu/6502/net/slip_arch.c index 53450805a..8ca846800 100644 --- a/cpu/6502/net/slip_arch.c +++ b/cpu/6502/net/slip_arch.c @@ -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 */