diff options
Diffstat (limited to 'keyboards/ergodox_infinity/visualizer.c')
| -rw-r--r-- | keyboards/ergodox_infinity/visualizer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/ergodox_infinity/visualizer.c b/keyboards/ergodox_infinity/visualizer.c index 4b16021ab..1ea891e83 100644 --- a/keyboards/ergodox_infinity/visualizer.c +++ b/keyboards/ergodox_infinity/visualizer.c | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #include "visualizer_keyframes.h" | 30 | #include "visualizer_keyframes.h" |
| 31 | #include "lcd_keyframes.h" | 31 | #include "lcd_keyframes.h" |
| 32 | #include "lcd_backlight_keyframes.h" | 32 | #include "lcd_backlight_keyframes.h" |
| 33 | #include "system/serial_link.h" | ||
| 34 | #include "default_animations.h" | 33 | #include "default_animations.h" |
| 35 | 34 | ||
| 36 | static const uint32_t logo_background_color = LCD_COLOR(0x00, 0x00, 0xFF); | 35 | static const uint32_t logo_background_color = LCD_COLOR(0x00, 0x00, 0xFF); |
| @@ -177,7 +176,7 @@ static void update_emulated_leds(visualizer_state_t* state, visualizer_keyboard_ | |||
| 177 | uint8_t new_index; | 176 | uint8_t new_index; |
| 178 | uint8_t old_index; | 177 | uint8_t old_index; |
| 179 | 178 | ||
| 180 | if (is_serial_link_master()) { | 179 | if (is_keyboard_master()) { |
| 181 | new_index = get_led_index_master(user_data_new); | 180 | new_index = get_led_index_master(user_data_new); |
| 182 | old_index = get_led_index_master(user_data_old); | 181 | old_index = get_led_index_master(user_data_old); |
| 183 | } | 182 | } |
