aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCMx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-25 19:56:00 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-25 19:56:00 +0000
commitbefe9632df5540514af04a9e7a084a50778873e8 (patch)
tree84ae76770b2785f2681260504cfa9d6887b536df /os/ports/GCC/ARMCMx
parent2f572f109a463e7faa46ed544c91198e72e63343 (diff)
downloadChibiOS-befe9632df5540514af04a9e7a084a50778873e8.tar.gz
ChibiOS-befe9632df5540514af04a9e7a084a50778873e8.tar.bz2
ChibiOS-befe9632df5540514af04a9e7a084a50778873e8.zip
Fixed a small documentation error in port_unlock() implementations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3452 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCMx')
-rw-r--r--os/ports/GCC/ARMCMx/chcore_v6m.h2
-rw-r--r--os/ports/GCC/ARMCMx/chcore_v7m.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.h b/os/ports/GCC/ARMCMx/chcore_v6m.h
index b98be1166..71fffdac8 100644
--- a/os/ports/GCC/ARMCMx/chcore_v6m.h
+++ b/os/ports/GCC/ARMCMx/chcore_v6m.h
@@ -176,7 +176,7 @@ struct intctx {
/**
* @brief Kernel-unlock action.
- * @details Usually this function just disables interrupts but may perform
+ * @details Usually this function just enables interrupts but may perform
* more actions.
*/
#define port_unlock() asm volatile ("cpsie i" : : : "memory")
diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h
index 3710c2edf..a2427c27e 100644
--- a/os/ports/GCC/ARMCMx/chcore_v7m.h
+++ b/os/ports/GCC/ARMCMx/chcore_v7m.h
@@ -224,7 +224,7 @@ struct intctx {
/**
* @brief Kernel-unlock action.
- * @details Usually this function just disables interrupts but may perform
+ * @details Usually this function just enables interrupts but may perform
* more actions.
* @note In this port this it lowers the base priority to user level.
*/