Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: hal/mbed_us_ticker_api.c
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
- Child:
- 174:b96e65c34a4d
--- a/hal/mbed_us_ticker_api.c Thu Jun 08 15:02:37 2017 +0100 +++ b/hal/mbed_us_ticker_api.c Wed Jun 21 17:46:44 2017 +0100 @@ -15,7 +15,7 @@ */ #include "hal/us_ticker_api.h" -static ticker_event_queue_t events; +static ticker_event_queue_t events = { 0 }; static const ticker_interface_t us_interface = { .init = us_ticker_init, @@ -27,7 +27,7 @@ static const ticker_data_t us_data = { .interface = &us_interface, - .queue = &events, + .queue = &events }; const ticker_data_t* get_us_ticker_data(void)