kernel: Combine nano_timers and nano_timeouts
To avoid code duplication nano_timers use nano_timeout mechanism. Change-Id: I916bffd2b86e29ee7b7ff7bbb009cd4c844e2a44 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
parent
e23e4c76e2
commit
9b2452047d
13 changed files with 333 additions and 201 deletions
|
@ -159,7 +159,7 @@ struct s_NANO {
|
|||
int32_t idle; /* Number of ticks for kernel idling */
|
||||
#endif /* CONFIG_ADVANCED_POWER_MANAGEMENT */
|
||||
|
||||
#ifdef CONFIG_NANO_TIMEOUTS
|
||||
#if defined(CONFIG_NANO_TIMEOUTS) || defined(CONFIG_NANO_TIMERS)
|
||||
sys_dlist_t timeout_q;
|
||||
int32_t task_timeout;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue