aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-07-12 05:13:31 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-07-12 05:13:31 +0000
commit7207b0569529f5dcf180ec1d84d86c3f573168aa (patch)
treee57546d07b948e48c419413c54ade7f7d74a22d4 /LUFA/Drivers/USB/Core/AVR8
parent065ed4da207173495d0a569b0f2973daebb841f0 (diff)
downloadlufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.tar.gz
lufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.tar.bz2
lufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.zip
Add missing function attributes.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h1
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h
index b5dc7e439..39b4cf7d2 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h
+++ b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h
@@ -212,6 +212,7 @@
}
#if (USE_INTERNAL_SERIAL != NO_DESCRIPTOR)
+ static inline void USB_Device_GetSerialString(uint16_t* const UnicodeString) ATTR_NON_NULL_PTR_ARG(1);
static inline void USB_Device_GetSerialString(uint16_t* const UnicodeString)
{
uint_reg_t CurrentGlobalInt = GetGlobalInterruptMask();
diff --git a/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
index efe0ef1ba..2d9972260 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
+++ b/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
@@ -877,7 +877,7 @@
* \return Boolean \c true if a pipe bound to the given endpoint address of the specified direction is found,
* \c false otherwise.
*/
- bool Pipe_IsEndpointBound(const uint8_t EndpointAddress);
+ bool Pipe_IsEndpointBound(const uint8_t EndpointAddress) ATTR_WARN_UNUSED_RESULT;
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)