aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Common/Attributes.h')
-rw-r--r--LUFA/Common/Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h
index d6722a28d..7ee641361 100644
--- a/LUFA/Common/Attributes.h
+++ b/LUFA/Common/Attributes.h
@@ -126,7 +126,7 @@
*
* \param[in] SectionIndex Initialization section number where the function should be placed.
*/
- #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((naked, section (".init" #SectionIndex )))
+ #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((used, naked, section (".init" #SectionIndex )))
/** Marks a function as an alias for another function.
*