-/* 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
#include <stdint.h>
#include <stdbool.h>
#include "quantum.h"
-#include "led_matrix.h"
+#include "ledmatrix.h"
/* Each driver needs to define a struct:
*
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