X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/253deb996f321c59c102a64e17f95d0b5b0a0e6d..28343b1475b999e61c8fe98eb420507a0e6da388:/LUFA/Drivers/USB/LowLevel/LowLevel.h diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h index a5adf99f1..41b0ff5f6 100644 --- a/LUFA/Drivers/USB/LowLevel/LowLevel.h +++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h @@ -283,7 +283,7 @@ /* Enums: */ /** Enum for error codes relating to the powering on of the USB interface. These error codes are - * used in the ErrorCode parameter value of the \ref USB_InitFailure event. + * used in the ErrorCode parameter value of the \ref EVENT_USB_InitFailure() event. */ enum USB_InitErrorCodes_t { @@ -313,24 +313,6 @@ extern volatile uint8_t USB_Options; #endif - /* Throwable Events: */ - /** This module raises the \ref USB_Disconnect event if the USB interface is reset (such as during a mode - * change while in UID mode) while the USB interface is connected to a device when in host mode, or - * a host while in device mode. - * - * \see Events.h for more information on this event. - */ - RAISES_EVENT(USB_Disconnect); - - #if defined(USB_CAN_BE_BOTH) || defined(__DOXYGEN__) - /** This module raises the Power On Failure event when an error occurs while initializing the USB - * interface. - * - * \see Events.h for more information on this event. - */ - RAISES_EVENT(USB_InitFailure); - #endif - /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__) /* Macros: */ @@ -359,7 +341,7 @@ /* Inline Functions: */ #if defined(USB_CAN_BE_BOTH) - static inline uint8_t USB_GetUSBModeFromUID(void) ATTR_WARN_UNUSED_RESULT; + static inline uint8_t USB_GetUSBModeFromUID(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline uint8_t USB_GetUSBModeFromUID(void) { if (USBSTA & (1 << ID))