X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fled_matrix_drivers.c;h=aeb3bfd550e313020817fbc3af83ac84b38c8822;hb=5fc24218113a4c862a05a5e4c900cb1733ef75b7;hp=e0f8b2094905e0c5e1e85c4ff9f93c170171ad81;hpb=bf2670601d29551896bab6811b9bb64de2d0ee0e;p=qmk_firmware.git diff --git a/quantum/led_matrix_drivers.c b/quantum/led_matrix_drivers.c index e0f8b2094..aeb3bfd55 100644 --- a/quantum/led_matrix_drivers.c +++ b/quantum/led_matrix_drivers.c @@ -1,4 +1,5 @@ -/* Copyright 2018 Clueboard +/* Copyright 2018 James Laird-Wah + * Copyright 2019 Clueboard * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -64,7 +65,8 @@ static void init(void) { IS31FL3733_init(LED_DRIVER_ADDR_4); #endif #endif - for (int index = 0; index < LED_DRIVER_COUNT; index++) { + + for (int index = 0; index < LED_DRIVER_LED_COUNT; index++) { #ifdef IS31FL3731 IS31FL3731_set_led_control_register(index, true); #else