Oops - fix incorrect variable name in the updated Pipe_Write_8() function.
[pub/USBasp.git] / Demos / Device / LowLevel / RNDISEthernet / RNDISEthernet.c
index 9796d4e..cc5f9e3 100644 (file)
@@ -71,8 +71,11 @@ void SetupHardware(void)
 
        /* Hardware Initialization */
        LEDs_Init();
-       SerialStream_Init(9600, false);
+       Serial_Init(9600, false);
        USB_Init();
+       
+       /* Create a stdio stream for the serial port for stdin and stdout */
+       Serial_CreateStream(NULL);      
 }
 
 /** Event handler for the USB_Connect event. This indicates that the device is enumerating via the status LEDs and