Skip to content

Commit

Permalink
Move to static inline. Avoids issues with gcc v8+
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Kvitnevskiy committed Sep 26, 2021
1 parent ea16bc0 commit 4937eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/rgb_matrix/rgb_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ typedef struct {
void (*flush)(void);
} rgb_matrix_driver_t;

inline bool rgb_matrix_check_finished_leds(uint8_t led_idx) {
static inline bool rgb_matrix_check_finished_leds(uint8_t led_idx) {
#if defined(RGB_MATRIX_SPLIT)
if (is_keyboard_left()) {
uint8_t k_rgb_matrix_split[2] = RGB_MATRIX_SPLIT;
Expand Down

0 comments on commit 4937eeb

Please sign in to comment.