diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-09-22 05:55:32 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-09-22 05:55:32 +0000 |
commit | 77dbfd3cc44b91ea04990c65f3de70267ceb2460 (patch) | |
tree | c96dc45709c9361dceb8c23a7c759990562ac424 /LUFA/Drivers/Peripheral | |
parent | 022fa26b43f062ca6e4b23c64ec2d0d0bab7e377 (diff) | |
download | lufa-77dbfd3cc44b91ea04990c65f3de70267ceb2460.tar.gz lufa-77dbfd3cc44b91ea04990c65f3de70267ceb2460.tar.bz2 lufa-77dbfd3cc44b91ea04990c65f3de70267ceb2460.zip |
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
Add missing function and definition documentation.
Diffstat (limited to 'LUFA/Drivers/Peripheral')
-rw-r--r-- | LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h index 437b4d1a6..5ba789efd 100644 --- a/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h +++ b/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h @@ -403,6 +403,8 @@ * the results read directly from the \ref ADC_GetResult() instead to reduce overhead. * * \param[in] MUXMask Mask comprising of an ADC channel mask, reference mask and adjustment mask. + * + * \return Converted ADC result for the given ADC channel. */ static inline uint16_t ADC_GetChannelReading(const uint16_t MUXMask) ATTR_WARN_UNUSED_RESULT; static inline uint16_t ADC_GetChannelReading(const uint16_t MUXMask) |