mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
Make sys_restart_timeouts public also for !NO_SYS targets
This commit is contained in:
parent
69be49fdc3
commit
70ccea9207
@ -360,7 +360,6 @@ sys_check_timeouts(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NO_SYS
|
|
||||||
/** Set back the timestamp of the last call to sys_check_timeouts()
|
/** Set back the timestamp of the last call to sys_check_timeouts()
|
||||||
* This is necessary if sys_check_timeouts() hasn't been called for a long
|
* This is necessary if sys_check_timeouts() hasn't been called for a long
|
||||||
* time (e.g. while saving energy) to prevent all timer functions of that
|
* time (e.g. while saving energy) to prevent all timer functions of that
|
||||||
@ -371,7 +370,6 @@ sys_restart_timeouts(void)
|
|||||||
{
|
{
|
||||||
timeouts_last_time = sys_now();
|
timeouts_last_time = sys_now();
|
||||||
}
|
}
|
||||||
#endif /* NO_SYS */
|
|
||||||
|
|
||||||
/** Return the time left before the next timeout is due. If no timeouts are
|
/** Return the time left before the next timeout is due. If no timeouts are
|
||||||
* enqueued, returns 0xffffffff
|
* enqueued, returns 0xffffffff
|
||||||
|
@ -103,9 +103,9 @@ void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
|
|||||||
#endif /* LWIP_DEBUG_TIMERNAMES */
|
#endif /* LWIP_DEBUG_TIMERNAMES */
|
||||||
|
|
||||||
void sys_untimeout(sys_timeout_handler handler, void *arg);
|
void sys_untimeout(sys_timeout_handler handler, void *arg);
|
||||||
|
void sys_restart_timeouts(void);
|
||||||
#if NO_SYS
|
#if NO_SYS
|
||||||
void sys_check_timeouts(void);
|
void sys_check_timeouts(void);
|
||||||
void sys_restart_timeouts(void);
|
|
||||||
u32_t sys_timeouts_sleeptime(void);
|
u32_t sys_timeouts_sleeptime(void);
|
||||||
#else /* NO_SYS */
|
#else /* NO_SYS */
|
||||||
void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user