tests: fix test programs using old uart API
[aversive.git] / projects / example2 / main.c
index da4134f..4faad5f 100644 (file)
@@ -105,8 +105,8 @@ int main(void)
        u08 tab2[4];
 
 #ifndef HOST_VERSION 
-/*     uart_init(); */
-/*     fdevopen((int (*)(char))uart0_send,(int (*)(void))uart0_recv,0); */
+       uart_init();
+       fdevopen(uart0_dev_send, NULL, 0);
 #endif
        my_list_type my_list ;
        my_another_list_type another_list ;