X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-ubi-test.c;h=5a839c468e8770c485acfaf1cc2acfa34669db35;hb=844f84ce4ba776bf5320b2e92db8b3a9e4d0d6d9;hp=140362d5e584a042f3b313e5179c7df9c96dc897;hpb=56a151edecefbaeab43dac22c89a3bb9fe4f470e;p=avr-crypto-lib.git diff --git a/test_src/main-ubi-test.c b/test_src/main-ubi-test.c index 140362d..5a839c4 100644 --- a/test_src/main-ubi-test.c +++ b/test_src/main-ubi-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "ubi.h" @@ -185,7 +185,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_noekeon}, { test_str, NULL, testrun_stdtest_ubi}, // { performance_str, NULL, testrun_performance_noekeon}, @@ -196,8 +196,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);