diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
commit | 215f31ee3dd27f461540384cdba04b58b481fadc (patch) | |
tree | 1a100121d47819202187914dc4a321cfb7030351 /src/gtimer/gtimer.h | |
parent | e23ae94e91369501df310bc3afd4ab711d263cab (diff) | |
download | uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2 uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip |
Added type gDelay to replace V2.x delaytime_t
Added type gTicks to replace V2.x systemticks_t
Added type gThreadreturn to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
Diffstat (limited to 'src/gtimer/gtimer.h')
-rw-r--r-- | src/gtimer/gtimer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gtimer/gtimer.h b/src/gtimer/gtimer.h index 402c3f1e..67c7539f 100644 --- a/src/gtimer/gtimer.h +++ b/src/gtimer/gtimer.h @@ -52,8 +52,8 @@ typedef void (*GTimerFunction)(void *param); typedef struct GTimer_t { GTimerFunction fn; void *param; - systemticks_t when; - systemticks_t period; + gTicks when; + gTicks period; uint16_t flags; struct GTimer_t *next; struct GTimer_t *prev; @@ -110,7 +110,7 @@ void gtimerDeinit(GTimer* pt); * * @api */ -void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, gBool periodic, delaytime_t millisec); +void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, gBool periodic, gDelay millisec); /** * @brief Stop a timer (periodic or otherwise) |