aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-11-30 00:40:28 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-11-30 00:40:28 +1000
commitbc0ce072984b89a097b0d8de35422452588fac56 (patch)
tree8ae6cd28e8b8b23f7d94af6b94a7189afa9c9551 /include
parentb8a64a20fe7735d742a767e2c46d5d5930445dfa (diff)
downloaduGFX-bc0ce072984b89a097b0d8de35422452588fac56.tar.gz
uGFX-bc0ce072984b89a097b0d8de35422452588fac56.tar.bz2
uGFX-bc0ce072984b89a097b0d8de35422452588fac56.zip
Static initialisation fix for a GListener
Diffstat (limited to 'include')
-rw-r--r--include/gevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gevent.h b/include/gevent.h
index fa735452..6467e60d 100644
--- a/include/gevent.h
+++ b/include/gevent.h
@@ -40,7 +40,7 @@
/**
* @brief Data part of a static GListener initializer.
*/
- #define _GLISTENER_DATA(name) { _SEMAPHORE_DATA(name.waitqueue, 0), _BSEMAPHORE_DATA(name.eventlock, FALSE), {0} }
+ #define _GLISTENER_DATA(name) { _SEMAPHORE_DATA(name.waitqueue, 0), _BSEMAPHORE_DATA(name.eventlock, FALSE), 0, 0, {0} }
/**
* @brief Static GListener initializer.
*/