]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/protocol/arm_atsam/usb/compiler.h
Add effect range to rgblight.c (#5856)
[qmk_firmware.git] / tmk_core / protocol / arm_atsam / usb / compiler.h
index d3384398673344dd3466f6c0723ed8cf7714d8af..b2ccfd73edb555bba7b0e1e2acc0e4c1ab998771 100644 (file)
  * heuristics and inline the function no matter how big it thinks it
  * becomes.
  */
+#if !defined(__always_inline)
 #if defined(__CC_ARM)
 #  define __always_inline             __forceinline
 #elif (defined __GNUC__)
 #elif (defined __ICCARM__)
 #  define __always_inline             _Pragma("inline=forced")
 #endif
+#endif
 
 /**
  * \def __no_inline