X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;ds=sidebyside;f=uart.c;h=68aaac48e006d7ee48bbc3248586e1f42ba45453;hb=222f3914d6308961e4e3d04ec0ea5e9ae652a1f9;hp=45338b58861bee49b205eaa99763555f3b5ba8df;hpb=6e51024d966bd015cb8f9c8460c5c21da6a08f9e;p=avr-crypto-lib.git diff --git a/uart.c b/uart.c index 45338b5..68aaac4 100644 --- a/uart.c +++ b/uart.c @@ -132,7 +132,7 @@ void uart_hexdump(void* buf, int len) uart_putc(table[((*((char*)buf))>>4)&0xf]); uart_putc(table[(*((char*)buf))&0xf]); uart_putc(' '); - ++buf; + buf=(char*)buf+1; } }