We can now turn off example-provided putchars
This commit is contained in:
parent
326781ef43
commit
de251aeb85
2 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,7 @@ output(void)
|
|||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#if !SLIP_BRIDGE_CONF_NO_PUTCHAR
|
||||
#undef putchar
|
||||
int
|
||||
putchar(int c)
|
||||
|
@ -145,6 +146,7 @@ putchar(int c)
|
|||
}
|
||||
return c;
|
||||
}
|
||||
#endif
|
||||
/*---------------------------------------------------------------------------*/
|
||||
const struct uip_fallback_interface rpl_interface = {
|
||||
init, output
|
||||
|
|
|
@ -169,6 +169,7 @@ init(void)
|
|||
packet_pos = 0;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#if !SLIP_RADIO_CONF_NO_PUTCHAR
|
||||
#undef putchar
|
||||
int
|
||||
putchar(int c)
|
||||
|
@ -196,6 +197,7 @@ putchar(int c)
|
|||
}
|
||||
return c;
|
||||
}
|
||||
#endif
|
||||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS(slip_radio_process, "Slip radio process");
|
||||
AUTOSTART_PROCESSES(&slip_radio_process);
|
||||
|
|
Loading…
Reference in a new issue