mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-13 07:14:31 +00:00
fixed messed-up opt.h
This commit is contained in:
parent
53dc94d570
commit
56102c1b1c
@ -75,10 +75,15 @@
|
|||||||
/**
|
/**
|
||||||
* LWIP_TIMERS==0: Drop support for sys_timeout and lwip-internal cyclic timers.
|
* LWIP_TIMERS==0: Drop support for sys_timeout and lwip-internal cyclic timers.
|
||||||
* (the array of lwip-internal cyclic timers is still provided)
|
* (the array of lwip-internal cyclic timers is still provided)
|
||||||
|
* (check NO_SYS_NO_TIMERS for compatibility to old versions)
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_TIMERS
|
#ifndef LWIP_TIMERS
|
||||||
|
#ifdef NO_SYS_NO_TIMERS
|
||||||
|
#define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
|
||||||
|
#else
|
||||||
#define LWIP_TIMERS 1
|
#define LWIP_TIMERS 1
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LWIP_TIMERS_CUSTOM==1: Provide your own timer implementation.
|
* LWIP_TIMERS_CUSTOM==1: Provide your own timer implementation.
|
||||||
@ -86,14 +91,8 @@
|
|||||||
* are still included, but the implementation is not. The following functions
|
* are still included, but the implementation is not. The following functions
|
||||||
* will be required: sys_timeouts_init(), sys_timeout(), sys_untimeout(),
|
* will be required: sys_timeouts_init(), sys_timeout(), sys_untimeout(),
|
||||||
* sys_timeouts_mbox_fetch()
|
* sys_timeouts_mbox_fetch()
|
||||||
* (check NO_SYS_NO_TIMERS for compatibility to old versions)
|
|
||||||
*/
|
*/
|
||||||
#if !defined LWIP_TIMERS_CUSTOM || defined __DOXYGEN__
|
#if !defined LWIP_TIMERS_CUSTOM || defined __DOXYGEN__
|
||||||
#ifdef NO_SYS_NO_TIMERS
|
|
||||||
#define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
|
|
||||||
#else
|
|
||||||
#define LWIP_TIMERS 1
|
|
||||||
#endif
|
|
||||||
#define LWIP_TIMERS_CUSTOM 0
|
#define LWIP_TIMERS_CUSTOM 0
|
||||||
#endif
|
#endif
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user