diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-21 14:00:51 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-21 14:00:51 +0000 |
commit | 97143bf81480d3f642e33684349c601d5cd0b1ae (patch) | |
tree | 667d25fd86b6d59e9ed4b60923cffb8a43ac4d62 /LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h | |
parent | 99d8a3936384d1e9286dfecfb6f7896294cd6c11 (diff) | |
download | lufa-97143bf81480d3f642e33684349c601d5cd0b1ae.tar.gz lufa-97143bf81480d3f642e33684349c601d5cd0b1ae.tar.bz2 lufa-97143bf81480d3f642e33684349c601d5cd0b1ae.zip |
Add missing const qualifiers to class drivers.
Indent core library function parameters so that there is only one parameter per line, to increase readability.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h index 9d4a2b3b1..61dda2cbc 100644 --- a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h +++ b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h @@ -254,7 +254,9 @@ * } * \endcode */ - uint8_t USB_GetNextDescriptorComp(uint16_t* const BytesRem, void** const CurrConfigLoc, ConfigComparatorPtr_t const ComparatorRoutine); + uint8_t USB_GetNextDescriptorComp(uint16_t* const BytesRem, + void** const CurrConfigLoc, + ConfigComparatorPtr_t const ComparatorRoutine); /* Inline Functions: */ /** Skips over the current sub-descriptor inside the configuration descriptor, so that the pointer then @@ -263,9 +265,10 @@ * \param[in,out] BytesRem Pointer to the number of bytes remaining of the configuration descriptor. * \param[in,out] CurrConfigLoc Pointer to the current descriptor inside the configuration descriptor. */ - static inline void USB_GetNextDescriptor(uint16_t* const BytesRem, void** CurrConfigLoc) - ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); - static inline void USB_GetNextDescriptor(uint16_t* const BytesRem, void** CurrConfigLoc) + static inline void USB_GetNextDescriptor(uint16_t* const BytesRem, + void** CurrConfigLoc) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + static inline void USB_GetNextDescriptor(uint16_t* const BytesRem, + void** CurrConfigLoc) { uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size; |