diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-13 07:06:02 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-13 07:06:02 +0000 |
commit | aaad958769e757093a258cfdd5c75f515534fd7a (patch) | |
tree | d58c08fc4a4c4b32a7eb8e14d5b58e4ddde70a8e /os/ports/GCC/AVR | |
parent | 43752ee8d132fc57028a9ff15156c5bfcd81c013 (diff) | |
download | ChibiOS-aaad958769e757093a258cfdd5c75f515534fd7a.tar.gz ChibiOS-aaad958769e757093a258cfdd5c75f515534fd7a.tar.bz2 ChibiOS-aaad958769e757093a258cfdd5c75f515534fd7a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3224 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/AVR')
-rw-r--r-- | os/ports/GCC/AVR/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h index 2d33b205d..757488948 100644 --- a/os/ports/GCC/AVR/chcore.h +++ b/os/ports/GCC/AVR/chcore.h @@ -215,8 +215,8 @@ struct context { * enabled to invoke system APIs.
*/
#define PORT_IRQ_EPILOGUE() { \
- if (chSchIsRescRequiredExI()) \
- chSchDoRescheduleI(); \
+ if (chSchIsPreemptionRequired()) \
+ chSchDoReschedule(); \
}
/**
|