aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtimer
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-02 19:55:20 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-02 19:55:20 +0100
commitd2de6c351785f323fd4b2a4e337a95bda4c9a626 (patch)
tree325a553eeba195f51432d15358244f215b970289 /src/gtimer
parent78254345917b3521e5005ecebc8d4f4a002b7a87 (diff)
downloaduGFX-d2de6c351785f323fd4b2a4e337a95bda4c9a626.tar.gz
uGFX-d2de6c351785f323fd4b2a4e337a95bda4c9a626.tar.bz2
uGFX-d2de6c351785f323fd4b2a4e337a95bda4c9a626.zip
implemented gtimerDeinit()
Diffstat (limited to 'src/gtimer')
-rw-r--r--src/gtimer/gtimer.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gtimer/gtimer.c b/src/gtimer/gtimer.c
index 311176fa..3f772e39 100644
--- a/src/gtimer/gtimer.c
+++ b/src/gtimer/gtimer.c
@@ -130,10 +130,16 @@ void _gtimerDeinit(void)
gfxMutexDestroy(&mutex);
}
-void gtimerInit(GTimer *pt) {
+void gtimerInit(GTimer* pt)
+{
pt->flags = 0;
}
+void gtimerDeinit(GTimer* pt)
+{
+ (void)pt;
+}
+
void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, bool_t periodic, delaytime_t millisec) {
gfxMutexEnter(&mutex);