mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
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/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>
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user