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.h
- Revision:
- 112:53ace74b190c
- Parent:
- 31:015df9e602b6
- Child:
- 119:19af2d39a542
diff -r 162b12aea5f2 -r 53ace74b190c rtos/RtosTimer.h --- a/rtos/RtosTimer.h Tue May 03 00:15:52 2016 +0100 +++ b/rtos/RtosTimer.h Thu May 05 20:45:13 2016 +0100 @@ -61,8 +61,10 @@ private: osTimerId _timer_id; osTimerDef_t _timer; -#ifdef CMSIS_OS_RTX +#if defined(CMSIS_OS_RTX) && !defined(__MBED_CMSIS_RTOS_CM) uint32_t _timer_data[5]; +#else + uint32_t _timer_data[6]; #endif };