aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications
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/applications
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/applications')
-rw-r--r--demos/applications/combo/bounce.c2
-rw-r--r--demos/applications/combo/mandelbrot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/applications/combo/bounce.c b/demos/applications/combo/bounce.c
index 1ca82d00..12f95f61 100644
--- a/demos/applications/combo/bounce.c
+++ b/demos/applications/combo/bounce.c
@@ -153,7 +153,7 @@ void doBounce(GHandle parent, gBool start) {
if (start) {
run = gTrue;
gh = parent;
- thread = gfxThreadCreate(0, 0x200, LOW_PRIORITY, task, 0);
+ thread = gfxThreadCreate(0, 0x200, gThreadpriorityLow, task, 0);
} else if (run) {
run = gFalse;
gfxThreadWait(thread);
diff --git a/demos/applications/combo/mandelbrot.c b/demos/applications/combo/mandelbrot.c
index 8033957c..866131e3 100644
--- a/demos/applications/combo/mandelbrot.c
+++ b/demos/applications/combo/mandelbrot.c
@@ -89,7 +89,7 @@ void doMandlebrot(GHandle parent, gBool start) {
if (start) {
run = gTrue;
gh = parent;
- thread = gfxThreadCreate(0, 0x400, LOW_PRIORITY, task, 0);
+ thread = gfxThreadCreate(0, 0x400, gThreadpriorityLow, task, 0);
} else if (run) {
run = gFalse;
gfxThreadWait(thread);