forked from mfulz_github/qmk_firmware
Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project.
This commit is contained in:
parent
43c4735305
commit
9051d3beb0
|
@ -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>
|
||||
|
||||
|
|
|
@ -241,7 +241,7 @@ void MassStorage_Task(void)
|
|||
|
||||
for (;;)
|
||||
{
|
||||
Serial_TxByte('.');
|
||||
Serial_SendByte('.');
|
||||
|
||||
/* Abort if device removed */
|
||||
if (USB_HostState == HOST_STATE_Unattached)
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue