Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
[pub/lufa.git] / LUFA / Common / Attributes.h
index d6722a2..7ee6413 100644 (file)
                         *
                         *  \param[in] SectionIndex  Initialization section number where the function should be placed.
                         */
                         *
                         *  \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.
                         *
 
                        /** Marks a function as an alias for another function.
                         *