From f87f7e7eddd094e50570799c4d3f02ee42b8fe42 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Wed, 3 Feb 2016 17:53:29 +0100 Subject: [PATCH] jn516x enable serial input whenever there is no fallback interface --- platform/jn516x/contiki-jn516x-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/jn516x/contiki-jn516x-main.c b/platform/jn516x/contiki-jn516x-main.c index 14c1e0460..8c88a10df 100644 --- a/platform/jn516x/contiki-jn516x-main.c +++ b/platform/jn516x/contiki-jn516x-main.c @@ -369,10 +369,10 @@ main(void) PRINTF("%s %s %s\n", NETSTACK_LLSEC.name, NETSTACK_MAC.name, NETSTACK_RDC.name); -#if !NETSTACK_CONF_WITH_IPV4 && !NETSTACK_CONF_WITH_IPV6 +#ifndef UIP_FALLBACK_INTERFACE uart0_set_input(serial_line_input_byte); serial_line_init(); -#endif +#endif /* UIP_FALLBACK_INTERFACE */ #if TIMESYNCH_CONF_ENABLED timesynch_init();