Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project.

This commit is contained in:
Dean Camera 2011-01-30 22:42:24 +00:00
parent 43c4735305
commit 9051d3beb0
3 changed files with 3 additions and 2 deletions

View File

@ -46,6 +46,7 @@
#include <LUFA/Version.h> #include <LUFA/Version.h>
#include <LUFA/Drivers/Misc/TerminalCodes.h> #include <LUFA/Drivers/Misc/TerminalCodes.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Board/LEDs.h> #include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h> #include <LUFA/Drivers/USB/USB.h>

View File

@ -241,7 +241,7 @@ void MassStorage_Task(void)
for (;;) for (;;)
{ {
Serial_TxByte('.'); Serial_SendByte('.');
/* Abort if device removed */ /* Abort if device removed */
if (USB_HostState == HOST_STATE_Unattached) if (USB_HostState == HOST_STATE_Unattached)

View File

@ -122,7 +122,7 @@ int main(void)
/* Load the next byte from the USART transmit buffer into the USART */ /* Load the next byte from the USART transmit buffer into the USART */
if (!(RingBuffer_IsEmpty(&USBtoUSART_Buffer))) if (!(RingBuffer_IsEmpty(&USBtoUSART_Buffer)))
Serial_TxByte(RingBuffer_Remove(&USBtoUSART_Buffer)); Serial_SendByte(RingBuffer_Remove(&USBtoUSART_Buffer));
CDC_Device_USBTask(&VirtualSerial_CDC_Interface); CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
USB_USBTask(); USB_USBTask();