From 7207b0569529f5dcf180ec1d84d86c3f573168aa Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 12 Jul 2011 05:13:31 +0000 Subject: Add missing function attributes. --- LUFA/Drivers/USB/Core/UC3/Device_UC3.h | 1 + LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'LUFA/Drivers/USB/Core/UC3') diff --git a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h index 5ed86612b..55e4b0cf7 100644 --- a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h @@ -198,6 +198,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/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index c9f9eaac2..ae8f0363c 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.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__) -- cgit v1.2.3