diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-14 09:13:21 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-14 09:13:21 +0000 |
commit | 075b89133ec371480bdcf670d3f412b1cf131b0e (patch) | |
tree | 886089b9e7d4c6715a0cb2e14ea0de271b83cce4 /os/ports/RC | |
parent | f1bb1a01ca40b8c999346c701450fcf0ca74827a (diff) | |
download | ChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.tar.gz ChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.tar.bz2 ChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.zip |
Performance optimization (not complete yet).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1739 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/RC')
-rw-r--r-- | os/ports/RC/STM8/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h index 6df8c5a61..16624fac4 100644 --- a/os/ports/RC/STM8/chcore.h +++ b/os/ports/RC/STM8/chcore.h @@ -252,10 +252,10 @@ struct context { * is responsible for the context switch between 2 threads.
* @note Implemented as a call to a low level assembler routine.
*
- * @param otp the thread to be switched out
* @param ntp the thread to be switched in
+ * @param otp the thread to be switched out
*/
-#define port_switch(otp, ntp) _port_switch(otp)
+#define port_switch(ntp, otp) _port_switch(otp)
#ifdef __cplusplus
extern "C" {
|