Skip to content

Commit a08d04c

Browse files
committed
Fixed typo in FORCEINLINE definition on IAR
per @c1728p9
1 parent b7bcb93 commit a08d04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/api/toolchain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
#if defined(__GNUC__) || defined(__clang__) || defined(__CC_ARM)
147147
#define MBED_FORCEINLINE static inline __attribute__((always_inline))
148148
#elif defined(__ICCARM__)
149-
#define MBED_FORCEINLINE _Pragma("inline=force") static
149+
#define MBED_FORCEINLINE _Pragma("inline=forced") static
150150
#else
151151
#define MBED_FORCEINLINE static inline
152152
#endif

0 commit comments

Comments
 (0)