From 9051d3beb0c5c4ec1e33749d8f806f5492fbe742 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 30 Jan 2011 22:42:24 +0000 Subject: [PATCH] Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project. --- Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h | 1 + Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c | 2 +- Projects/USBtoSerial/USBtoSerial.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h b/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h index e9496a5c24..f0ee56398c 100644 --- a/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h +++ b/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h @@ -46,6 +46,7 @@ #include #include + #include #include #include diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c index 5030b85c4c..145dd32a1e 100644 --- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c @@ -241,7 +241,7 @@ void MassStorage_Task(void) for (;;) { - Serial_TxByte('.'); + Serial_SendByte('.'); /* Abort if device removed */ if (USB_HostState == HOST_STATE_Unattached) diff --git a/Projects/USBtoSerial/USBtoSerial.c b/Projects/USBtoSerial/USBtoSerial.c index 59f8edb691..9ce00bf131 100644 --- a/Projects/USBtoSerial/USBtoSerial.c +++ b/Projects/USBtoSerial/USBtoSerial.c @@ -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();