jn516x enable serial input whenever there is no fallback interface

This commit is contained in:
Simon Duquennoy 2016-02-03 17:53:29 +01:00
parent 5d67a612b4
commit f87f7e7edd

View file

@ -369,10 +369,10 @@ main(void)
PRINTF("%s %s %s\n", NETSTACK_LLSEC.name, NETSTACK_MAC.name, NETSTACK_RDC.name); 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); uart0_set_input(serial_line_input_byte);
serial_line_init(); serial_line_init();
#endif #endif /* UIP_FALLBACK_INTERFACE */
#if TIMESYNCH_CONF_ENABLED #if TIMESYNCH_CONF_ENABLED
timesynch_init(); timesynch_init();