From 38d7cdf803a1e4b7855286dbfed381b206900d96 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 24 Nov 2011 11:59:52 +0000 Subject: Minor Doxygen documentation improvements. Add missing ATTR_NON_NULL_PTR_ARG and const decorations. --- LUFA/Drivers/USB/Core/HostStandardReq.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'LUFA/Drivers/USB/Core') diff --git a/LUFA/Drivers/USB/Core/HostStandardReq.h b/LUFA/Drivers/USB/Core/HostStandardReq.h index 92b37f8a6..7b456c701 100644 --- a/LUFA/Drivers/USB/Core/HostStandardReq.h +++ b/LUFA/Drivers/USB/Core/HostStandardReq.h @@ -234,6 +234,7 @@ * * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result. */ + static inline uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* const DeviceDescriptorPtr) ATTR_NON_NULL_PTR_ARG(1); static inline uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* const DeviceDescriptorPtr) { return USB_Host_GetDescriptor(DTYPE_Device, 0, DeviceDescriptorPtr, sizeof(USB_Descriptor_Device_t)); @@ -255,6 +256,9 @@ * * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result. */ + static inline uint8_t USB_Host_GetDeviceStringDescriptor(const uint8_t Index, + void* const Buffer, + const uint8_t BufferLength) ATTR_NON_NULL_PTR_ARG(2); static inline uint8_t USB_Host_GetDeviceStringDescriptor(const uint8_t Index, void* const Buffer, const uint8_t BufferLength) -- cgit v1.2.3