Change inline to static inline
This commit is contained in:
1 parent
574ca7f59c
commit
f912c74fe7
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ SOFTWARE.
|
||||
#define LCD_SAT(color) ((color >> 8) & 0xFF)
|
||||
#define LCD_INT(color) (color & 0xFF)
|
||||
|
||||
inline uint32_t change_lcd_color_intensity(uint32_t color, uint8_t new_intensity) {
|
||||
static inline uint32_t change_lcd_color_intensity(uint32_t color, uint8_t new_intensity) {
|
||||
return (color & 0xFFFFFF00) | new_intensity;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user