mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Add build tests to verify correct compilation of as many modules as possible under as many architectures as possible.
Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file. Fix missing semicolon in the UC3 architecture host pipe functions. Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
This commit is contained in:
@@ -80,7 +80,7 @@ bool Pipe_ConfigurePipe(const uint8_t Number,
|
||||
}
|
||||
else
|
||||
{
|
||||
UPCFG0Temp = (&AVR32_USBB.upcfg0)[PNum]
|
||||
UPCFG0Temp = (&AVR32_USBB.upcfg0)[PNum];
|
||||
}
|
||||
|
||||
if (!(UPCFG0Temp & AVR32_USBB_ALLOC_MASK))
|
||||
|
||||
@@ -52,8 +52,10 @@ void USB_USBTask(void)
|
||||
#else
|
||||
if (USB_CurrentMode == USB_MODE_Device)
|
||||
USB_DeviceTask();
|
||||
#if defined(USB_CAN_BE_HOST)
|
||||
else if (USB_CurrentMode == USB_MODE_Host)
|
||||
USB_HostTask();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user