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
|
@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define RGB_MATRIX_STARTUP_VAL 128
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 67
|
||||
# define RGB_MATRIX_LED_COUNT 67
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
// For full list of effects, see:
|
||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "hotswap.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/
|
||||
{0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1-1 */
|
||||
{0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB2-2 */
|
||||
|
|
|
@ -70,7 +70,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define RGB_MATRIX_STARTUP_VAL 128
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 71
|
||||
# define RGB_MATRIX_LED_COUNT 71
|
||||
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
// For full list of effects, see:
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "soldered.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/
|
||||
{0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1-1 */
|
||||
{0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB2-2 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue