mbed

Fork of mbed-dev by mbed official

Revision:
167:e84263d55307
Parent:
149:156823d33999
Child:
175:b96e65c34a4d
diff -r c97ed07ec1a8 -r e84263d55307 hal/mbed_lp_ticker_api.c
--- a/hal/mbed_lp_ticker_api.c	Thu Jun 08 15:02:37 2017 +0100
+++ b/hal/mbed_lp_ticker_api.c	Wed Jun 21 17:46:44 2017 +0100
@@ -17,7 +17,7 @@
 
 #if DEVICE_LOWPOWERTIMER
 
-static ticker_event_queue_t events;
+static ticker_event_queue_t events = { 0 };
 
 static const ticker_interface_t lp_interface = {
     .init = lp_ticker_init,