X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=uart.c;h=e35106cf816ae683822a74712dcee12d654ca973;hb=96ebafd201c9e8441c7677577b24aa402c1defc6;hp=94de47e43bc3e4b05a52d14f04d37445eecd805e;hpb=9e7453525f32441ea49ef1d9b3248e94d9554eec;p=avr-crypto-lib.git diff --git a/uart.c b/uart.c index 94de47e..e35106c 100644 --- a/uart.c +++ b/uart.c @@ -1,3 +1,21 @@ +/* uart.c */ +/* + This file is part of the Crypto-avr-lib/microcrypt-lib. + Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ /* USART-Init beim ATmegaXX */ #include "config.h" @@ -235,7 +253,7 @@ void uart_putstr_P(PGM_P str) { } } -void uart_hexdump(void* buf, int len) +void uart_hexdump(const void* buf, int len) { unsigned char table[]={'0','1','2','3','4','5','6','7', '8','9','a','b','c','d','e','f'};