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/games/tetris/tetris.c | |
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/games/tetris/tetris.c')
-rw-r--r-- | demos/games/tetris/tetris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/games/tetris/tetris.c b/demos/games/tetris/tetris.c index ad8debd7..cd4cc315 100644 --- a/demos/games/tetris/tetris.c +++ b/demos/games/tetris/tetris.c @@ -498,7 +498,7 @@ void tetrisStart(void) { tetrisGameOver = gFalse; printGameOver(); // removes "Game Over!" if tetrisGameOver == gFalse tetrisPreviousGameTime = gfxSystemTicks(); - gfxThreadCreate(0, 1024, NORMAL_PRIORITY, thdTetris, 0); + gfxThreadCreate(0, 1024, gThreadpriorityNormal, thdTetris, 0); while (!tetrisGameOver) { gfxSleepMilliseconds(1000); } |