aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tools/uGFXnetDisplay
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tools/uGFXnetDisplay')
-rw-r--r--demos/tools/uGFXnetDisplay/main.c4
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