From d44132fafccb8e5bdd221a6c92e21d03c83c448c Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 29 Jan 2026 21:21:20 +0100 Subject: [PATCH] adapts NX_IP_PERIODIC_RATE to be lower than TX_TIMER_TICKS_PER_SECOND --- port/threadx/inc/nx_port.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/port/threadx/inc/nx_port.h b/port/threadx/inc/nx_port.h index d99e387..618c384 100644 --- a/port/threadx/inc/nx_port.h +++ b/port/threadx/inc/nx_port.h @@ -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