JN516x: fix SLIP configuration

This commit is contained in:
Simon Duquennoy 2017-12-22 00:27:03 -08:00
parent 7f1dd819ef
commit fa765e67b0
1 changed files with 6 additions and 1 deletions

View File

@ -272,9 +272,14 @@ typedef uint32_t clock_time_t;
/* Set this to zero only if we are using SLIP */
#ifndef SLIP_BRIDGE_CONF_NO_PUTCHAR
#define SLIP_BRIDGE_CONF_NO_PUTCHAR 1
#if defined(UIP_FALLBACK_INTERFACE) || defined(CMD_CONF_OUTPUT)
#define SLIP_BRIDGE_CONF_NO_PUTCHAR 0
#else
#define SLIP_BRIDGE_CONF_NO_PUTCHAR 1
#endif
#endif /* SLIP_BRIDGE_CONF_NO_PUTCHAR */
/* Extension of LED definitions from leds.h for various JN516x dev boards
JN516x Dongle:
LEDS_RED Red LED on dongle