Oops - fix up some calls to the old function names, include Serial Peripheral driver...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Jan 2011 22:42:24 +0000 (22:42 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Jan 2011 22:42:24 +0000 (22:42 +0000)
Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h
Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
Projects/USBtoSerial/USBtoSerial.c

index e9496a5..f0ee563 100644 (file)
@@ -46,6 +46,7 @@
 
                #include <LUFA/Version.h>
                #include <LUFA/Drivers/Misc/TerminalCodes.h>
+               #include <LUFA/Drivers/Peripheral/Serial.h>
                #include <LUFA/Drivers/Board/LEDs.h>
                #include <LUFA/Drivers/USB/USB.h>
 
index 5030b85..145dd32 100644 (file)
@@ -241,7 +241,7 @@ void MassStorage_Task(void)
 
                        for (;;)
                        {
-                               Serial_TxByte('.');
+                               Serial_SendByte('.');
 
                                /* Abort if device removed */
                                if (USB_HostState == HOST_STATE_Unattached)
index 59f8edb..9ce00bf 100644 (file)
@@ -122,7 +122,7 @@ int main(void)
 
                /* Load the next byte from the USART transmit buffer into the USART */
                if (!(RingBuffer_IsEmpty(&USBtoUSART_Buffer)))
-                 Serial_TxByte(RingBuffer_Remove(&USBtoUSART_Buffer));
+                 Serial_SendByte(RingBuffer_Remove(&USBtoUSART_Buffer));
 
                CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
                USB_USBTask();