Fix CMSIS __RESTRICT define for IAR

Revert the define __RESTRICT from "__restrict" to "restrict". This
fixes compilation for IAR.
pull/7875/head
Russ Butler 2018-08-24 21:21:07 -05:00 committed by Russ Butler
parent d5be92adb1
commit 308dfe3a53
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@
#endif
#ifndef __RESTRICT
#define __RESTRICT __restrict
#define __RESTRICT restrict
#endif
#ifndef __STATIC_INLINE

View File

@ -150,7 +150,7 @@
#endif
#ifndef __RESTRICT
#define __RESTRICT __restrict
#define __RESTRICT restrict
#endif
#ifndef __STATIC_INLINE