Add missing function attributes.
This commit is contained in:
parent
065ed4da20
commit
7207b05695
16 changed files with 80 additions and 47 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue