Skip to content

Commit 07c8044

Browse files
author
Deepika
committed
_MAX_LOCK define is moved to DLib_Threads.h
1 parent 2dc4bef commit 07c8044

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rtos/mbed_boot.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@
168168
#include "cmsis_os2.h"
169169
#include "mbed_toolchain.h"
170170
#include "mbed_error.h"
171-
171+
#if (defined(__ICCARM__) && (__IAR_SYSTEMS_ICC__ >= 8) )
172+
#include <DLib_Threads.h>
173+
#endif
172174
/* Heap limits - only used if set */
173175
extern unsigned char *mbed_heap_start;
174176
extern uint32_t mbed_heap_size;

0 commit comments

Comments
 (0)