aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 15:32:26 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 15:32:26 +1000
commit1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (patch)
tree3ffb1a5fd2d8e7f08b7b45938824ecbab1170288 /demos/3rdparty
parent93da5a0578e7f16ea846eb257f36a24e316ef8d4 (diff)
downloaduGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.gz
uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.bz2
uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.zip
gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY
Diffstat (limited to 'demos/3rdparty')
-rw-r--r--demos/3rdparty/notepad-2/notepadApp.h2
-rw-r--r--demos/3rdparty/notepad-2/notepadCore.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/3rdparty/notepad-2/notepadApp.h b/demos/3rdparty/notepad-2/notepadApp.h
index 04405223..661aaaf2 100644
--- a/demos/3rdparty/notepad-2/notepadApp.h
+++ b/demos/3rdparty/notepad-2/notepadApp.h
@@ -38,7 +38,7 @@
#include "notepadCore.h"
#include "notepadUIDefines.h"
-#define NPAD_THD_PRIO NORMAL_PRIORITY
+#define NPAD_THD_PRIO gThreadpriorityNormal
#define NPAD_THD_WA_SIZE 512
void nSetColorScheme(NColorScheme sch);
diff --git a/demos/3rdparty/notepad-2/notepadCore.h b/demos/3rdparty/notepad-2/notepadCore.h
index dc75be3e..e4b78cdc 100644
--- a/demos/3rdparty/notepad-2/notepadCore.h
+++ b/demos/3rdparty/notepad-2/notepadCore.h
@@ -37,7 +37,7 @@
/* Configuration */
#define NCORE_THD_STACK_SIZE 256
-#define NCORE_THD_PRIO NORMAL_PRIORITY
+#define NCORE_THD_PRIO gThreadpriorityNormal
#define NCORE_MODE_DRAW 0
#define NCORE_MODE_ERASE 1