Clone of mbed rtos 2 for easy accessibility.
Fork of mbed-rtos by
Diff: rtos/RtosTimer.cpp
- Revision:
- 31:015df9e602b6
- Parent:
- 8:88a1a9c26ae3
- Child:
- 35:b8555a5966f6
diff -r 3761f69dbbb2 -r 015df9e602b6 rtos/RtosTimer.cpp --- 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