Use correct macro name.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 15:29:45 +0000 (15:29 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 15:29:45 +0000 (15:29 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1713 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/coop.c

index dd3aee211d82db28b7123194247480efda92d541..d0105972c86bfb4aeb21addd2a71bb78fec8fb00 100644 (file)
@@ -69,7 +69,7 @@ static void proc_schedule(void)
 
        ATOMIC(LIST_ASSERT_VALID(&ProcReadyList));
        ASSERT_USER_CONTEXT();
-       ASSERT_IRQ_ENABLED();
+       IRQ_ASSERT_ENABLED();
 
        /* Poll on the ready queue for the first ready process */
        IRQ_SAVE_DISABLE(flags);