introduce sys_timeouts_sleeptime (returns the time left before the next timeout is due, for NO_SYS==1)

This commit is contained in:
sg
2015-02-12 22:14:28 +01:00
parent 80b62df0a9
commit 7a0f814043
3 changed files with 18 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ void sys_untimeout(sys_timeout_handler handler, void *arg);
#if NO_SYS
void sys_check_timeouts(void);
void sys_restart_timeouts(void);
u32_t sys_timeouts_sleeptime(void);
#else /* NO_SYS */
void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
#endif /* NO_SYS */