aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Common/Attributes.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-06-17 08:15:58 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-06-17 08:15:58 +0000
commitf37d6dff85d0272845b50840689258e2f9d0f6b4 (patch)
tree3d427b7168cdc7312d0f29a75ca7b2b8d604eaea /LUFA/Common/Attributes.h
parent98156525ed97f1e538362d8a92e9903b00604cf8 (diff)
Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().
Minor tweaks to the library documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1343 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Common/Attributes.h')
-rw-r--r--LUFA/Common/Attributes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h
index 01938dc8..220017a2 100644
--- a/LUFA/Common/Attributes.h
+++ b/LUFA/Common/Attributes.h
@@ -124,15 +124,15 @@
/** Places the function in one of the initialization sections, which execute before the main function
* of the application. Refer to the avr-libc manual for more information on the initialization sections.
*
- * \param[in] x 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(x) __attribute__ ((naked, section (".init" #x )))
+ #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((naked, section (".init" #SectionIndex )))
/** Marks a function as an alias for another function.
*
- * \param[in] x Name of the function which the given function name should alias
+ * \param[in] Func Name of the function which the given function name should alias.
*/
- #define ATTR_ALIAS(x) __attribute__ ((alias( #x )))
+ #define ATTR_ALIAS(Func) __attribute__ ((alias( #Func )))
#endif
/** @} */