sched/: Fix some new coding standard issues.
Fix new coding standard issues found by new, revised nxstyle.
This commit is contained in:
parent
f764947c73
commit
9f3648d329
@ -95,7 +95,7 @@ struct irq_file_s
|
|||||||
size_t remaining; /* Number of available characters in buffer */
|
size_t remaining; /* Number of available characters in buffer */
|
||||||
size_t ncopied; /* Number of characters in buffer */
|
size_t ncopied; /* Number of characters in buffer */
|
||||||
off_t offset; /* Current file offset */
|
off_t offset; /* Current file offset */
|
||||||
char line[IRQ_LINELEN]; /* Pre-allocated buffer for formatted lines */
|
char line[IRQ_LINELEN]; /* Pre-allocated buffer for formatted lines */
|
||||||
};
|
};
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -335,7 +335,7 @@ FAR struct task_tcb_s *nxtask_vforksetup(start_t retaddr, size_t *argsize)
|
|||||||
/* Get the priority of the parent task */
|
/* Get the priority of the parent task */
|
||||||
|
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
#ifdef CONFIG_PRIORITY_INHERITANCE
|
||||||
priority = parent->base_priority; /* "Normal," unboosted priority */
|
priority = parent->base_priority; /* "Normal," unboosted priority */
|
||||||
#else
|
#else
|
||||||
priority = parent->sched_priority; /* Current priority */
|
priority = parent->sched_priority; /* Current priority */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user