]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-sha256-test.c
freaking, me or the compiler?
[avr-crypto-lib.git] / test_src / main-sha256-test.c
index 80c864e1d7266199a2362cb9fe5e943a735fa47c..2312e95f63b98358a58a50f0671cb26dcfb17b71 100644 (file)
@@ -22,8 +22,8 @@
 */
 
 #include "config.h"
-#include "serial-tools.h"
-#include "uart.h"
+
+#include "uart_i.h"
 #include "debug.h"
 
 #include "sha256.h"
@@ -87,8 +87,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;                
        shavs_algolist=(hfdesc_t**)algolist;
        shavs_algo=(hfdesc_t*)&sha256_desc;
        for(;;){