Skip to content

Commit

Permalink
Change inline to static inline
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Jun 23, 2017
1 parent 574ca7f commit f912c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/ergodox/infinity/visualizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void initialize_user_visualizer(visualizer_state_t* state) {
start_keyframe_animation(&default_startup_animation);
}

inline bool is_led_on(visualizer_user_data_t* user_data, uint8_t num) {
static inline bool is_led_on(visualizer_user_data_t* user_data, uint8_t num) {
return user_data->led_on & (1u << num);
}

Expand Down
2 changes: 1 addition & 1 deletion quantum/visualizer/lcd_backlight.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f912c74

Please sign in to comment.