diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-17 16:06:07 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-17 16:06:07 +1000 |
commit | a08a02481ba9e68933ad0b89483f5328767df9f3 (patch) | |
tree | 8a14646a4ff57c877bd4d83416b9b65cd9b10149 /LUFA/Drivers/USB/Core/Events.h | |
parent | d8e0d67caefa312970787645180ec5db2eff92cb (diff) | |
download | lufa-a08a02481ba9e68933ad0b89483f5328767df9f3.tar.gz lufa-a08a02481ba9e68933ad0b89483f5328767df9f3.tar.bz2 lufa-a08a02481ba9e68933ad0b89483f5328767df9f3.zip |
Fix mismatched aliased event and event stub function prototypes.
Diffstat (limited to 'LUFA/Drivers/USB/Core/Events.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/Events.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Core/Events.h b/LUFA/Drivers/USB/Core/Events.h index c82245ff5..9f72f41eb 100644 --- a/LUFA/Drivers/USB/Core/Events.h +++ b/LUFA/Drivers/USB/Core/Events.h @@ -332,19 +332,21 @@ /* Function Prototypes: */ #if defined(__INCLUDE_FROM_EVENTS_C) void USB_Event_Stub(void); + void USB_Event_Stub_2(const uint8_t _1); + void USB_Event_Stub_3(const uint8_t _1, const uint8_t _2); #if defined(USB_CAN_BE_BOTH) void EVENT_USB_UIDChange(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); #endif #if defined(USB_CAN_BE_HOST) - void EVENT_USB_Host_HostError(const uint8_t ErrorCode) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); + void EVENT_USB_Host_HostError(const uint8_t ErrorCode) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub_2); void EVENT_USB_Host_DeviceAttached(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceUnattached(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceEnumerationComplete(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode) - ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); + ATTR_WEAK ATTR_ALIAS(USB_Event_Stub_3); void EVENT_USB_Host_StartOfFrame(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); #endif |