X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-mugi-test.c;h=e868907444b5d0029e85bbbb8a7d1983995255ea;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=f49340152b7f1ab77907f93562caa7c5dc28c686;hpb=83d0614d8b17eac97f891f7de2bb3ef265751dea;p=avr-crypto-lib.git diff --git a/test_src/main-mugi-test.c b/test_src/main-mugi-test.c index f493401..e868907 100644 --- a/test_src/main-mugi-test.c +++ b/test_src/main-mugi-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "mugi.h" @@ -118,7 +118,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_arcfour }, { test_str, NULL, testrun_mugi}, { performance_str, NULL, testrun_performance_mugi}, @@ -129,8 +129,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);