From 1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 15:32:26 +1000 Subject: gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY --- demos/tools/uGFXnetDisplay/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/tools') diff --git a/demos/tools/uGFXnetDisplay/main.c b/demos/tools/uGFXnetDisplay/main.c index dc396cfb..b24c40ba 100644 --- a/demos/tools/uGFXnetDisplay/main.c +++ b/demos/tools/uGFXnetDisplay/main.c @@ -81,7 +81,7 @@ #define StartSockets() Start_LWIP(); #else #include "lwipthread.h" - #define StartSockets() gfxThreadClose(gfxThreadCreate(wa_lwip_thread, LWIP_THREAD_STACK_SIZE, NORMAL_PRIORITY, lwip_thread, 0)) + #define StartSockets() gfxThreadClose(gfxThreadCreate(wa_lwip_thread, LWIP_THREAD_STACK_SIZE, gThreadpriorityNormal, lwip_thread, 0)) #endif #if !LWIP_SOCKET @@ -358,7 +358,7 @@ int main(proto_args) { #if GFX_USE_GINPUT && GINPUT_NEED_MOUSE // Start the mouse thread if needed if (cmd[3]) - gfxThreadClose(gfxThreadCreate(waNetThread, sizeof(waNetThread), HIGH_PRIORITY, NetThread, 0)); + gfxThreadClose(gfxThreadCreate(waNetThread, sizeof(waNetThread), gThreadpriorityHigh, NetThread, 0)); #endif // Process incoming instructions -- cgit v1.2.3