diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-07-31 17:13:43 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-07-31 17:13:43 +0000 |
commit | 85f4f2c2b10bd598f2aa88afb748e28e345f0d2f (patch) | |
tree | 1eb00df02ea7413738f36219e5d9766cdd1415b1 /LUFA/Drivers/Misc | |
parent | af3c001cba0e58bf5f8a73068fa9f3c4f672168a (diff) | |
download | lufa-85f4f2c2b10bd598f2aa88afb748e28e345f0d2f.tar.gz lufa-85f4f2c2b10bd598f2aa88afb748e28e345f0d2f.tar.bz2 lufa-85f4f2c2b10bd598f2aa88afb748e28e345f0d2f.zip |
Minor code style and documentation changes.
Diffstat (limited to 'LUFA/Drivers/Misc')
-rw-r--r-- | LUFA/Drivers/Misc/RingBuffer.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h index b0bc5c55d..521d52d50 100644 --- a/LUFA/Drivers/Misc/RingBuffer.h +++ b/LUFA/Drivers/Misc/RingBuffer.h @@ -126,9 +126,12 @@ * \param[out] DataPtr Pointer to a global array that will hold the data stored into the ring buffer. * \param[out] Size Maximum number of bytes that can be stored in the underlying data array. */ - static inline void RingBuffer_InitBuffer(RingBuffer_t* Buffer, uint8_t* const DataPtr, const uint16_t Size) - ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); - static inline void RingBuffer_InitBuffer(RingBuffer_t* Buffer, uint8_t* const DataPtr, const uint16_t Size) + static inline void RingBuffer_InitBuffer(RingBuffer_t* Buffer, + uint8_t* const DataPtr, + const uint16_t Size) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + static inline void RingBuffer_InitBuffer(RingBuffer_t* Buffer, + uint8_t* const DataPtr, + const uint16_t Size) { GCC_FORCE_POINTER_ACCESS(Buffer); |