mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
sched/: Fix some spacing issues
This commit is contained in:
@@ -81,14 +81,14 @@ static inline void timer_free(struct posix_timer_s *timer)
|
||||
/* Remove the timer from the allocated list */
|
||||
|
||||
flags = irqsave();
|
||||
sq_rem((FAR sq_entry_t*)timer, (sq_queue_t*)&g_alloctimers);
|
||||
sq_rem((FAR sq_entry_t *)timer, (FAR sq_queue_t *)&g_alloctimers);
|
||||
|
||||
/* Return it to the free list if it is one of the preallocated timers */
|
||||
|
||||
#if CONFIG_PREALLOC_TIMERS > 0
|
||||
if ((timer->pt_flags & PT_FLAGS_PREALLOCATED) != 0)
|
||||
{
|
||||
sq_addlast((FAR sq_entry_t*)timer, (FAR sq_queue_t*)&g_freetimers);
|
||||
sq_addlast((FAR sq_entry_t *)timer, (FAR sq_queue_t *)&g_freetimers);
|
||||
irqrestore(flags);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user