From fefa1a82a0d255e13ec269af06c0a2c9ba402737 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 27 Mar 2016 07:47:27 +0000 Subject: Fixed bug #728. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9165 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chschd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index e91d9a460..4f94f406b 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -768,7 +768,7 @@ static inline void chSchPreemption(void) { } } #else /* CH_CFG_TIME_QUANTUM == 0 */ - if (p1 >= p2) { + if (p1 > p2) { chSchDoRescheduleAhead(); } #endif /* CH_CFG_TIME_QUANTUM == 0 */ -- cgit v1.2.3