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