adapts NX_IP_PERIODIC_RATE to be lower than TX_TIMER_TICKS_PER_SECOND

This commit is contained in:
2026-01-29 21:21:20 +01:00
parent d5ac028817
commit d44132fafc

View File

@@ -66,7 +66,8 @@
#ifndef NX_IP_PERIODIC_RATE
#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
#define NX_IP_PERIODIC_RATE 10
#endif