Christopher Haster / events

Dependents:   SimpleHTTPExample

Files at this revision

API Documentation at this revision

Comitter:
Christopher Haster
Date:
Wed Apr 20 22:28:19 2016 -0500
Parent:
4:30883e8633b4
Child:
6:31c141d3bcc7
Commit message:
Fix uninitialized variable in EventQueue

Changed in this revision

EventQueue.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/EventQueue.cpp	Sun Apr 17 23:50:50 2016 -0500
+++ b/EventQueue.cpp	Wed Apr 20 22:28:19 2016 -0500
@@ -3,6 +3,7 @@
 
 
 EventQueue::EventQueue() {
+    _queue = 0;
     _tick = 0;
     _timer.start();
     _ticker.attach_us(this, &EventQueue::tick, (1 << 16) * 1000);