aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-11 11:04:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-11 11:04:05 +0000
commit009e8d28c38ef6b6797318aee29ca90910753988 (patch)
tree19403e97445d93cb92d219b7f066e3a070a3547a /os/kernel/templates
parenta7b039fae4798eb96b28a8cb59267d26fb9261a9 (diff)
downloadChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.tar.gz
ChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.tar.bz2
ChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2346 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/templates')
-rw-r--r--os/kernel/templates/chcore.c4
-rw-r--r--os/kernel/templates/chtypes.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/templates/chcore.c b/os/kernel/templates/chcore.c
index 9a989d183..c2737b04a 100644
--- a/os/kernel/templates/chcore.c
+++ b/os/kernel/templates/chcore.c
@@ -23,7 +23,7 @@
* @details This file is a template of the system driver functions provided by
* a port. Some of the following functions may be implemented as
* macros in chcore.h if the implementer decides that there is an
- * advantage in doing so, as example because performance concerns.
+ * advantage in doing so, for example because performance concerns.
*
* @addtogroup core
* @details Non portable code templates.
@@ -106,7 +106,7 @@ void port_wait_for_interrupt(void) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
*/
diff --git a/os/kernel/templates/chtypes.h b/os/kernel/templates/chtypes.h
index 164ccbe60..9be581d33 100644
--- a/os/kernel/templates/chtypes.h
+++ b/os/kernel/templates/chtypes.h
@@ -101,7 +101,7 @@ typedef int32_t cnt_t;
* @note This is required because some compilers require a custom keyword,
* usually this macro is just set to "const" for the GCC compiler.
* @note This macro is not used to place constants in different address
- * spaces (like AVR requires as example) because it is assumed that
+ * spaces (like AVR requires for example) because it is assumed that
* a pointer to a ROMCONST constant is compatible with a pointer
* to a normal variable. It is just like the "const" keyword but
* requires that the constant is placed in ROM if the architecture