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/USB/Core/UC3/Host_UC3.h | |
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/USB/Core/UC3/Host_UC3.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Host_UC3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Host_UC3.h b/LUFA/Drivers/USB/Core/UC3/Host_UC3.h index 61e82f14c..60d9b7f64 100644 --- a/LUFA/Drivers/USB/Core/UC3/Host_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Host_UC3.h @@ -129,6 +129,8 @@ /* Inline Functions: */ /** Returns the current USB frame number, when in host mode. Every millisecond the USB bus is active (i.e. not suspended) * the frame number is incremented by one. + * + * \return Current USB frame number from the USB controller. */ static inline uint16_t USB_Host_GetFrameNumber(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline uint16_t USB_Host_GetFrameNumber(void) |