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 lwip-sys by
Diff: arch/sys_arch.c
- Revision:
- 18:8b8671ab556f
- Parent:
- 17:12e78a2462d0
--- a/arch/sys_arch.c Fri Oct 09 08:00:21 2015 +0100 +++ b/arch/sys_arch.c Thu May 05 20:45:38 2016 +0100 @@ -285,7 +285,7 @@ * @return a new mutex */ err_t sys_mutex_new(sys_mutex_t *mutex) { #ifdef CMSIS_OS_RTX -#ifdef __MBED_CMSIS_RTOS_CA9 +#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM) memset(mutex->data, 0, sizeof(int32_t)*4); #else memset(mutex->data, 0, sizeof(int32_t)*3);