From 995195a2b06142fb0882cf116a12bdab8e19603f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 12 Apr 2011 03:03:56 +0000 Subject: Add missing function attributes to the pipe/endpoint functions for all architectures. Perform endianness correction in the HID report parser for big-endian platforms. --- LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h') diff --git a/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h index 2bf13cd26..836c83b67 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h @@ -140,6 +140,7 @@ /** Returns the current USB frame number, when in host mode. Every millisecond the USB bus is active (i.e. not suspended) * the frame number is incremented by one. */ + static inline uint16_t USB_Host_GetFrameNumber(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline uint16_t USB_Host_GetFrameNumber(void) { return UHFNUM; -- cgit v1.2.3