2016-05-02 19:13:26 +02:00
|
|
|
#include "dev/uart0.h"
|
2010-08-24 18:23:20 +02:00
|
|
|
|
2016-05-02 22:34:58 +02:00
|
|
|
#if !NETSTACK_CONF_WITH_IPV4
|
2016-05-02 19:13:26 +02:00
|
|
|
/* In case of IPv4: putchar() is defined by the SLIP driver */
|
2010-08-24 18:23:20 +02:00
|
|
|
int
|
|
|
|
putchar(int c)
|
|
|
|
{
|
|
|
|
uart0_writeb((char)c);
|
|
|
|
return c;
|
|
|
|
}
|
2016-05-02 22:34:58 +02:00
|
|
|
#endif /* ! NETSTACK_CONF_WITH_IPV4 */
|