2009-10-30 15:06:26 +00:00
|
|
|
#include "dev/uart1.h"
|
|
|
|
|
2016-05-02 20:34:58 +00:00
|
|
|
#if !NETSTACK_CONF_WITH_IPV4
|
2016-05-02 17:13:26 +00:00
|
|
|
/* In case of IPv4: putchar() is defined by the SLIP driver */
|
2009-10-30 15:06:26 +00:00
|
|
|
int
|
|
|
|
putchar(int c)
|
|
|
|
{
|
|
|
|
uart1_writeb((char)c);
|
|
|
|
return c;
|
|
|
|
}
|
2016-05-02 20:34:58 +00:00
|
|
|
#endif /* ! NETSTACK_CONF_WITH_IPV4 */
|