mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Move two #defines from acd.h to acd.c since they are only useful in there
This commit is contained in:
parent
015cff75fd
commit
a3cdf3c4cc
@ -71,6 +71,10 @@
|
||||
#include "lwip/acd.h"
|
||||
#include "lwip/prot/acd.h"
|
||||
|
||||
#define ACD_FOREACH(acd, acd_list) for ((acd) = acd_list; (acd) != NULL; (acd) = (acd)->next)
|
||||
|
||||
#define ACD_TICKS_PER_SECOND (1000 / ACD_TMR_INTERVAL)
|
||||
|
||||
/* Define good random function (LWIP_RAND) in lwipopts.h */
|
||||
#define ACD_RANDOM_PROBE_WAIT (LWIP_RAND() % \
|
||||
(PROBE_WAIT * ACD_TICKS_PER_SECOND))
|
||||
|
@ -58,9 +58,6 @@ extern "C" {
|
||||
* 1000, 500, 333, 250, 200, 166, 142, 125, 111, 100 ....
|
||||
*/
|
||||
#define ACD_TMR_INTERVAL 100
|
||||
#define ACD_TICKS_PER_SECOND (1000 / ACD_TMR_INTERVAL)
|
||||
|
||||
#define ACD_FOREACH(acd, acd_list) for ((acd) = acd_list; (acd) != NULL; (acd) = (acd)->next)
|
||||
|
||||
/**
|
||||
* Callback function: Handle conflict information from ACD module
|
||||
|
Loading…
Reference in New Issue
Block a user