X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-base64-test.c;h=6bcdde150bed802610e3c091da9e841f506650fd;hb=b97b5aeaa3569443d9b95a77a388c6615b33f9e3;hp=ece676cfe58af46becc6eb53000b9421e254bc68;hpb=e7648127669eee6c05fbb05dbb92f639a9344d4b;p=avr-crypto-lib.git diff --git a/test_src/main-base64-test.c b/test_src/main-base64-test.c index ece676c..6bcdde1 100644 --- a/test_src/main-base64-test.c +++ b/test_src/main-base64-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "noekeon.h" @@ -144,7 +144,7 @@ const char test_str[] PROGMEM = "test"; const char performance_str[] PROGMEM = "performance"; const char echo_str[] PROGMEM = "echo"; -cmdlist_entry_t cmdlist[] PROGMEM = { +const cmdlist_entry_t cmdlist[] PROGMEM = { { test_str, NULL, testrun_stdtest_base64}, { performance_str, NULL, testrun_performance_base64}, { echo_str, (void*)1, (void_fpt)echo_ctrl}, @@ -154,8 +154,8 @@ cmdlist_entry_t cmdlist[] PROGMEM = { int main (void){ DEBUG_INIT(); - cli_rx = uart_getc; - cli_tx = uart_putc; + cli_rx = (cli_rx_fpt)uart0_getc; + cli_tx = (cli_tx_fpt)uart0_putc; for(;;){ cli_putstr_P(PSTR("\r\n\r\nCrypto-VS (")); cli_putstr(algo_name);