aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_zephyr.h
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 /src/gos/gos_zephyr.h
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 'src/gos/gos_zephyr.h')
-rw-r--r--src/gos/gos_zephyr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gos/gos_zephyr.h b/src/gos/gos_zephyr.h
index 662a0c82..ce57e131 100644
--- a/src/gos/gos_zephyr.h
+++ b/src/gos/gos_zephyr.h
@@ -33,9 +33,9 @@ typedef int gThreadpriority;
#define gDelayNone K_NO_WAIT
#define gDelayForever K_FOREVER
#define MAX_SEMAPHORE_COUNT ((gSemcount)(((unsigned long)((gSemcount)(-1))) >> 1))
-#define LOW_PRIORITY CONFIG_NUM_PREEMPT_PRIORITIES-1
-#define NORMAL_PRIORITY 1
-#define HIGH_PRIORITY 0
+#define gThreadpriorityLow CONFIG_NUM_PREEMPT_PRIORITIES-1
+#define gThreadpriorityNormal 1
+#define gThreadpriorityHigh 0
typedef struct k_sem gfxSem;