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-rtos by
Diff: rtos/RtosTimer.cpp
- Revision:
- 31:015df9e602b6
- Parent:
- 8:88a1a9c26ae3
- Child:
- 35:b8555a5966f6
--- a/rtos/RtosTimer.cpp Tue May 27 08:30:16 2014 +0100 +++ b/rtos/RtosTimer.cpp Tue Jun 03 11:30:14 2014 +0100 @@ -31,7 +31,7 @@ RtosTimer::RtosTimer(void (*periodic_task)(void const *argument), os_timer_type type, void *argument) { #ifdef CMSIS_OS_RTX _timer.ptimer = periodic_task; - + memset(_timer_data, 0, sizeof(_timer_data)); _timer.timer = _timer_data; #endif