X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-shacal1_enc-test.c;h=48b5051dc7c81f6e9fa0caecb858f4462b45132c;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=a4ff3c62d684287e0747ddcc4b5d78668d9488b4;hpb=83d0614d8b17eac97f891f7de2bb3ef265751dea;p=avr-crypto-lib.git diff --git a/test_src/main-shacal1_enc-test.c b/test_src/main-shacal1_enc-test.c index a4ff3c6..48b5051 100644 --- a/test_src/main-shacal1_enc-test.c +++ b/test_src/main-shacal1_enc-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "shacal1_enc.h" @@ -88,7 +88,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 = { { nessie_str, NULL, testrun_nessie_shacal1enc}, { test_str, NULL, testrun_nessie_shacal1enc}, { performance_str, NULL, testrun_performance_shacal1enc}, @@ -99,8 +99,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);