diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
commit | 1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (patch) | |
tree | 3ffb1a5fd2d8e7f08b7b45938824ecbab1170288 /demos/tools | |
parent | 93da5a0578e7f16ea846eb257f36a24e316ef8d4 (diff) | |
download | uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.gz uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.bz2 uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.zip |
gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY
Diffstat (limited to 'demos/tools')
-rw-r--r-- | demos/tools/uGFXnetDisplay/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |