adapts NX_IP_PERIODIC_RATE to be lower than TX_TIMER_TICKS_PER_SECOND
This commit is contained in:
@@ -66,7 +66,8 @@
|
|||||||
|
|
||||||
#ifndef NX_IP_PERIODIC_RATE
|
#ifndef NX_IP_PERIODIC_RATE
|
||||||
#ifdef TX_TIMER_TICKS_PER_SECOND
|
#ifdef TX_TIMER_TICKS_PER_SECOND
|
||||||
#define NX_IP_PERIODIC_RATE TX_TIMER_TICKS_PER_SECOND
|
/* it seems this needs to be smaller than the timer ticks per second. Otherwise no time is left for other tasks*/
|
||||||
|
#define NX_IP_PERIODIC_RATE (TX_TIMER_TICKS_PER_SECOND / 10)
|
||||||
#else
|
#else
|
||||||
#define NX_IP_PERIODIC_RATE 10
|
#define NX_IP_PERIODIC_RATE 10
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user