Initialisation required for optional debugging code.

This commit is contained in:
Ben Gras 2005-05-24 12:30:51 +00:00
parent 6a3519f3a8
commit 0f55ebe90a

View file

@ -142,6 +142,11 @@ PUBLIC void main()
}
/* Set ready. The HARDWARE task is never ready. */
#if ENABLE_K_DEBUGGING
rp->p_ready = 0;
#endif
if (rp->p_nr != HARDWARE) lock_ready(rp);
rp->p_flags = 0;