]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-seed-test.c
backporting uart_i and cli
[avr-crypto-lib.git] / test_src / main-seed-test.c
index 768e8d9523c5ec89c31105668492888add4ab774..cd2a5e859acb72a5c9b3da261d04a498cfbcf8d0 100644 (file)
@@ -28,7 +28,7 @@
  */
 #include "config.h"
 #include "serial-tools.h"
-#include "uart.h"
+#include "uart_i.h"
 #include "debug.h"
 
 #include "seed.h"
@@ -179,8 +179,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);