summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-22 18:49:41 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-06-23 23:34:16 +0200
commitf912c74fe7a4a7108e8966ebe4802eae92739dd1 (patch)
tree18e60a10f90932851474be5293b318171bc057de /quantum
parent574ca7f59ce7b3408aa848f782adac5e3a2f4fb6 (diff)
downloadqmk_firmware-f912c74fe7a4a7108e8966ebe4802eae92739dd1.tar.gz
qmk_firmware-f912c74fe7a4a7108e8966ebe4802eae92739dd1.tar.xz
Change inline to static inline
Diffstat (limited to 'quantum')
-rw-r--r--quantum/visualizer/lcd_backlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/visualizer/lcd_backlight.h b/quantum/visualizer/lcd_backlight.h
index 172e9bac5..95d7a07b4 100644
--- a/quantum/visualizer/lcd_backlight.h
+++ b/quantum/visualizer/lcd_backlight.h
@@ -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;
}