Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
parent
d967de0df7
commit
36c410592d
577 changed files with 836 additions and 831 deletions
|
@ -125,7 +125,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define DRIVER_2_LED_TOTAL 32
|
||||
#endif
|
||||
|
||||
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
// For full list of effects, see:
|
||||
|
|
|
@ -91,7 +91,7 @@ void raw_hid_receive( uint8_t *data, uint8_t length )
|
|||
|
||||
#ifdef HS60_ANSI
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
@ -199,7 +199,7 @@ led_config_t g_led_config = { {
|
|||
|
||||
#else
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -114,7 +114,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 }
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_LED_TOTAL 64
|
||||
#define RGB_MATRIX_LED_COUNT 64
|
||||
|
||||
// These define which keys in the matrix are alphas/mods
|
||||
// Used for backlight effects so colors are different for
|
||||
|
|
|
@ -114,7 +114,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 }
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_LED_TOTAL 64
|
||||
#define RGB_MATRIX_LED_COUNT 64
|
||||
|
||||
// These define which keys in the matrix are alphas/mods
|
||||
// Used for backlight effects so colors are different for
|
||||
|
|
|
@ -112,7 +112,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 }
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_LED_TOTAL 64
|
||||
#define RGB_MATRIX_LED_COUNT 64
|
||||
|
||||
// These define which keys in the matrix are alphas/mods
|
||||
// Used for backlight effects so colors are different for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue