Initialisation required for optional debugging code.
This commit is contained in:
parent
6a3519f3a8
commit
0f55ebe90a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue