Use correct macro name.
[bertos.git] / 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);