forked from mirror/qmk_firmware
Fix errors uncovered by the new build test compile warnings; fix UC3 pipe configuration function broken, redundant function prototypes and unused parameters.
This commit is contained in:
@@ -429,6 +429,7 @@
|
||||
static inline bool Endpoint_HasEndpointInterrupted(const uint8_t EndpointNumber) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;
|
||||
static inline bool Endpoint_HasEndpointInterrupted(const uint8_t EndpointNumber)
|
||||
{
|
||||
(void)EndpointNumber;
|
||||
return 0; // TODO
|
||||
}
|
||||
|
||||
|
||||
@@ -73,10 +73,10 @@
|
||||
switch (Interrupt)
|
||||
{
|
||||
case USB_INT_BUSEVENTI:
|
||||
USB.INTCTRLA |= USB_BUSEVIE_bm;
|
||||
USB.INTCTRLA |= USB_BUSEVIE_bm;
|
||||
return;
|
||||
case USB_INT_SOFI:
|
||||
USB.INTCTRLA |= USB_SOFIE_bm;
|
||||
USB.INTCTRLA |= USB_SOFIE_bm;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user