aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/sys.h b/src/include/sys.h
index ae38a5639..0c58a9c8e 100644
--- a/src/include/sys.h
+++ b/src/include/sys.h
@@ -57,7 +57,7 @@
* interrupts or be exactly equivalent to @p chSysDisable().
* @note Do not invoke this API from within a kernel lock.
*/
-#define chSysDisableAll() sys_disable_all()
+#define chSysDisable() sys_disable()
/**
* Raises the system interrupt priority mask to system level.
@@ -69,7 +69,7 @@
* @note This API is no replacement for @p chSysLock(), the @p chSysLock()
* could do more than just disable the interrupts.
*/
-#define chSysDisable() sys_disable()
+#define chSysSuspend() sys_suspend()
/**
* Lowers the system interrupt priority mask to user level.