X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fdebug.c;h=128b4bcb2278aa9cc921562ca53fe7ed681d0ac6;hb=a5cb349f9d72e0d2c82730647b4f142de6b7e485;hp=a9a52921792dda36ac11aec1176a7d9c5897c883;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/test_src/debug.c b/test_src/debug.c index a9a5292..128b4bc 100644 --- a/test_src/debug.c +++ b/test_src/debug.c @@ -1,6 +1,6 @@ /* debug.c */ /* - This file is part of the This file is part of the AVR-Crypto-Lib. + This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -24,7 +24,7 @@ #include "config.h" #if DEBUG == uart - #include "uart.h" + #include "uart_i.h" #else #error "Your DEBUG methode is not suported!" #endif @@ -32,7 +32,7 @@ #ifdef DEBUG void debug_init(void){ #if DBUG==uart - uart_init(); + uart0_init(); #else #error "Your DEBUG methode is not suported!" #endif @@ -41,10 +41,10 @@ void debug_char(char c){ static char initialised = 0; if (!initialised){ - uart_init(); + uart0_init(); initialised=1; } - uart_putc(c); + uart0_putc(c); } void debug_str(char* s){