aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-04-12 03:03:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-04-12 03:03:56 +0000
commit995195a2b06142fb0882cf116a12bdab8e19603f (patch)
treeb560fb306c067c44266a494f2d40f16132e0a9f4 /LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
parent852b5e612d549d1f086ceca4df0b589ac24cb37f (diff)
downloadlufa-995195a2b06142fb0882cf116a12bdab8e19603f.tar.gz
lufa-995195a2b06142fb0882cf116a12bdab8e19603f.tar.bz2
lufa-995195a2b06142fb0882cf116a12bdab8e19603f.zip
Add missing function attributes to the pipe/endpoint functions for all architectures.
Perform endianness correction in the HID report parser for big-endian platforms.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
index 166a49c7d..1727da0d8 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
+++ b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
@@ -394,6 +394,7 @@
*
* \return Total number of busy banks in the selected endpoint.
*/
+ static inline uint8_t Endpoint_GetBusyBanks(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Endpoint_GetBusyBanks(void)
{
return (UESTA0X & (0x03 << NBUSYBK0));