void _dputc(char c) { #if WITH_DEBUG_DCC if (c == '\n') { while (dcc_putc('\r') < 0); } while (dcc_putc(c) < 0); #endif #if WITH_DEBUG_UART uart_putc(0, c); #endif #if WITH_DEBUG_FBCON && WITH_DEV_FBCON fbcon_putc(c); #endif }
void _dputc(char c) { #if WITH_DEBUG_DCC if (c == '\n') { while (dcc_putc('\r') < 0); } while (dcc_putc(c) < 0); #endif #if WITH_DEBUG_UART if (c == '\n') uart_putc(DEBUG_UART, '\r'); uart_putc(DEBUG_UART, c); #endif #if WITH_DEBUG_FBCON && WITH_DEV_FBCON fbcon_putc(c); #endif #if WITH_DEBUG_JTAG jtag_dputc(c); #endif }
void xdcc_putc(unsigned x) { while (dcc_putc(x) < 0) ; }