diff options
author | Joakim Tufvegren <jocke@barbanet.com> | 2021-07-20 03:54:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 18:54:32 -0700 |
commit | 1414e9736d441f4cefbdd2f88157419066f96f71 (patch) | |
tree | 927b51b9a42698ad9b297ac55a9870fc21b535d3 /keyboards/ergodox_infinity/visualizer.c | |
parent | 85621311db62a3a2a264cb7c9edefb7cab731e4c (diff) |
Switch Ergodox Infinity over to split_common (#13481)
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 4b16021abc..1ea891e830 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/>. #include "visualizer_keyframes.h" #include "lcd_keyframes.h" #include "lcd_backlight_keyframes.h" -#include "system/serial_link.h" #include "default_animations.h" 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_ uint8_t new_index; uint8_t old_index; - if (is_serial_link_master()) { + if (is_keyboard_master()) { new_index = get_led_index_master(user_data_new); old_index = get_led_index_master(user_data_old); } |