aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/RC
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/RC')
-rw-r--r--os/ports/RC/STM8/chcore.h4
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" {