diff --git a/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/options.h b/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/options.h index 7dbc66e..d4a6924 100644 --- a/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/options.h +++ b/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/options.h @@ -94,7 +94,7 @@ #if !defined (PNET_MAX_AR) /** Number of connections. Must be > 0. "Automated RT Tester" uses 2 */ -#define PNET_MAX_AR 1 +#define PNET_MAX_AR 2 #endif #if !defined (PNET_MAX_API) @@ -196,7 +196,7 @@ */ #ifndef LOG_LEVEL -#define LOG_LEVEL (LOG_LEVEL_WARNING) +#define LOG_LEVEL (LOG_LEVEL_FATAL) #endif #ifndef PF_ETH_LOG diff --git a/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/pn_dev/sampleapp_main.c b/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/pn_dev/sampleapp_main.c index df07120..bbcc60a 100644 --- a/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/pn_dev/sampleapp_main.c +++ b/projects/etherkit_profinet_pnet/packages/p-net-rtt-latest/src/ports/rtthread/pn_dev/sampleapp_main.c @@ -42,7 +42,7 @@ #define APP_LOG_LEVEL APP_LOG_LEVEL_DEBUG -#define APP_BG_WORKER_THREAD_PRIORITY 26 +#define APP_BG_WORKER_THREAD_PRIORITY 19 #define APP_BG_WORKER_THREAD_STACKSIZE 4096 /* bytes */ /********************************** Globals ***********************************/ @@ -166,7 +166,7 @@ static void pnet_app(void) } #endif - rt_thread_t pnet_thread = rt_thread_create("pnet", pnet_main, RT_NULL, 5124, 25, 10); + rt_thread_t pnet_thread = rt_thread_create("pnet", pnet_main, RT_NULL, 5124, 19, 10); rt_thread_startup(pnet_thread); app_status = 1; return;