X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fdebug.c;h=128b4bcb2278aa9cc921562ca53fe7ed681d0ac6;hp=1e07451b8e3bb14b65d41f5f0eb6f3bf76142b43;hb=52ec168ece9d61bd9cb652235dfe8faee6232a11;hpb=7f4bda01ca923c4a9aca6da3370a7c4793426a5c diff --git a/test_src/debug.c b/test_src/debug.c index 1e07451..128b4bc 100644 --- a/test_src/debug.c +++ b/test_src/debug.c @@ -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){