From 7009a64a034902d1fd22682c9a1de68153cce042 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 10 Dec 2014 14:25:41 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7568 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/src/nil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/nil/src/nil.c') diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index f5c0d99dc..402037501 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -220,26 +220,26 @@ void chSysTimerHandlerI(void) { } /** - * @brief Conditionally enters the kernel lock state. + * @brief Unconditionally enters the kernel lock state. * @note Can be called without previous knowledge of the current lock state. * The final state is "s-locked". * * @special */ -void chSysConditionalLock(void) { +void chSysUnconditionalLock(void) { if (port_irq_enabled(port_get_irq_status())) chSysLock(); } /** - * @brief Conditionally leaves the kernel lock state. + * @brief Unconditionally leaves the kernel lock state. * @note Can be called without previous knowledge of the current lock state. * The final state is "normal". * * @special */ -void chSysConditionalUnlock(void) { +void chSysUnconditionalUnlock(void) { if (!port_irq_enabled(port_get_irq_status())) chSysUnlock(); -- cgit v1.2.3