From 075b89133ec371480bdcf670d3f412b1cf131b0e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 14 Mar 2010 09:13:21 +0000 Subject: Performance optimization (not complete yet). git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1739 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/RC/STM8/chcore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/ports/RC') 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" { -- cgit v1.2.3