aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtimer/gtimer.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
commit215f31ee3dd27f461540384cdba04b58b481fadc (patch)
tree1a100121d47819202187914dc4a321cfb7030351 /src/gtimer/gtimer.h
parente23ae94e91369501df310bc3afd4ab711d263cab (diff)
downloaduGFX-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.h6
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)