Sporadic scheduler: Cosmetic change to debug output and to comments

This commit is contained in:
Gregory Nutt 2015-07-26 15:33:27 -06:00
parent 99664b7811
commit 7c04ad8209
1 changed files with 1 additions and 2 deletions

View File

@ -578,7 +578,7 @@ int sched_sporadic_initialize(FAR struct tcb_s *tcb)
sporadic = (FAR struct sporadic_s *)kmm_zalloc(sizeof(struct sporadic_s)); sporadic = (FAR struct sporadic_s *)kmm_zalloc(sizeof(struct sporadic_s));
if (sporadic == NULL) if (sporadic == NULL)
{ {
slldbg("ERROR: Failed to alloate sporadic data structure\n"); slldbg("ERROR: Failed to allocate sporadic data structure\n");
return -ENOMEM; return -ENOMEM;
} }
@ -1052,7 +1052,6 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
* Drop to the lower priority for the duration of the replenishment * Drop to the lower priority for the duration of the replenishment
* period. Called from: * period. Called from:
* *
* - sched_sporadic_process() when the thread budget expires
* - sched_unlock(). When the budget expires while the thread had the * - sched_unlock(). When the budget expires while the thread had the
* scheduler locked. * scheduler locked.
* *