diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-16 17:41:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-16 17:41:56 +0000 |
commit | bfa3ba9f00d263a15d6d6b2dec2aa0b81058df27 (patch) | |
tree | 817fc88a260e36d897b48dce522f2057b15346e0 /os/hal/osal | |
parent | 752b44ba0e550159fb6d2372c54a278fb94080eb (diff) | |
download | ChibiOS-bfa3ba9f00d263a15d6d6b2dec2aa0b81058df27.tar.gz ChibiOS-bfa3ba9f00d263a15d6d6b2dec2aa0b81058df27.tar.bz2 ChibiOS-bfa3ba9f00d263a15d6d6b2dec2aa0b81058df27.zip |
Turned more macros in inline functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/osal')
-rw-r--r-- | os/hal/osal/chibios/osal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/osal/chibios/osal.c b/os/hal/osal/chibios/osal.c index 65912ce7e..da3746eaf 100644 --- a/os/hal/osal/chibios/osal.c +++ b/os/hal/osal/chibios/osal.c @@ -98,9 +98,9 @@ msg_t osalThreadSuspendS(thread_reference_t *trp) { chDbgAssert(*trp == NULL, "not NULL");
- *trp = (thread_reference_t)chThdSelf();
+ *trp = (thread_reference_t)chThdGetSelfX();
chSchGoSleepS(CH_STATE_SUSPENDED);
- return chThdSelf()->p_msg;
+ return chThdGetSelfX()->p_msg;
}
/**
|