aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/AVR/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/AVR/chcore.h')
-rw-r--r--os/ports/GCC/AVR/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h
index 18439b9fe..b452e0227 100644
--- a/os/ports/GCC/AVR/chcore.h
+++ b/os/ports/GCC/AVR/chcore.h
@@ -190,7 +190,7 @@ struct context {
* invoke system APIs.
*/
#define PORT_IRQ_EPILOGUE() { \
- if (chSchRescRequiredI()) \
+ if (chSchIsRescRequiredExI()) \
chSchDoRescheduleI(); \
}