]> git.droids-corp.org - aversive.git/blobdiff - projects/example2/main.c
tests: fix test programs using old uart API
[aversive.git] / projects / example2 / main.c
index da4134f6a94ec7903f733fcbae4a5ef852069687..4faad5f7be377b55e2c08254679a75af44818759 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 ;