forked from mirror/qmk_firmware
Add ATTR_NEVER_INLINE attribute. Add EEPROM byte read/write proxy functions to the Mass Storage bootloader to prevent link errors due to linker relaxations.
This commit is contained in:
@@ -90,6 +90,11 @@
|
||||
*/
|
||||
#define ATTR_NO_INLINE __attribute__ ((noinline))
|
||||
|
||||
/** Forces the compiler to never inline the specified function. When applied, the given function will be
|
||||
* always be called explicitly under all circumstances.
|
||||
*/
|
||||
#define ATTR_NEVER_INLINE __attribute__ ((noinline))
|
||||
|
||||
/** Forces the compiler to inline the specified function. When applied, the given function will be
|
||||
* in-lined under all circumstances.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user