X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=simavr%2Fsim%2Favr_uart.c;h=149d8b9e56fd4b38ac1c02407c3e2391036ede0e;hb=fb5a31d1e731a1d3f1993063496277c979ce356e;hp=f723ee4d20f1cda21913e8000a3741757481d11b;hpb=1f1bac2029fa1259e233357dc1617343d9c5abfd;p=simavr diff --git a/simavr/sim/avr_uart.c b/simavr/sim/avr_uart.c index f723ee4..149d8b9 100644 --- a/simavr/sim/avr_uart.c +++ b/simavr/sim/avr_uart.c @@ -164,7 +164,7 @@ static void avr_uart_write(struct avr_t * avr, avr_io_addr_t addr, uint8_t v, vo p->stdio_out[p->stdio_len] = 0; if (v == '\n' || p->stdio_len == maxsize) { p->stdio_len = 0; - printf( FONT_GREEN "%s\n" FONT_DEFAULT, p->stdio_out); + AVR_LOG(avr, LOG_TRACE, FONT_GREEN "%s\n" FONT_DEFAULT, p->stdio_out); } } TRACE(printf("UDR%c(%02x) = %02x\n", p->name, addr, v);)