Browse Source

Static initialisation fix for a GListener

remotes/origin_old/ugfx_release_2.6
Andrew Hannam 10 years ago
parent
commit
bc0ce07298
  1. 2
      include/gevent.h

2
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.
*/

Loading…
Cancel
Save