Skip to content

Commit b8d1cd4

Browse files
Added missing definition for __always_inline (supplied by @martinayotte)
1 parent d5986cc commit b8d1cd4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

STM32F4/cores/maple/libmaple/libmaple_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ typedef void (*voidFuncPtr)(void);
4848
#define __io volatile
4949
#define __attr_flash __attribute__((section (".USER_FLASH")))
5050

51+
#define __always_inline inline __attribute__((always_inline))
52+
5153
#ifndef NULL
5254
#define NULL 0
5355
#endif

0 commit comments

Comments
 (0)