aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/ext.h')
-rw-r--r--os/hal/include/ext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/ext.h b/os/hal/include/ext.h
index 7f32c5f1f..89dc59df8 100644
--- a/os/hal/include/ext.h
+++ b/os/hal/include/ext.h
@@ -120,9 +120,9 @@ typedef struct EXTDriver EXTDriver;
* @api
*/
#define extSetChannelMode(extp, channel, extcp) { \
- chSysLock(); \
+ osalSysLock(); \
extSetChannelModeI(extp, channel, extcp); \
- chSysUnlock(); \
+ osalSysUnlock(); \
}
/** @} */