~ruther/qmk_firmware

c7a65558ee70310b607393c4a69f1ef953f7b138 — jack 3 years ago d69c784
Remove lingering `DRIVER_LED_TOTAL` references (#18475)

M keyboards/drop/sense75/config.h => keyboards/drop/sense75/config.h +1 -1
@@ 13,7 13,7 @@
#    define DRIVER_ADDR_1 0b1010000
#    define DRIVER_ADDR_2 0b1011111
#    define DRIVER_COUNT 2
#    define DRIVER_LED_TOTAL (58 + 53)
#    define RGB_MATRIX_LED_COUNT (58 + 53)
#    define ISSI_PWM_FREQUENCY 0b010 // 26k

#    define RGB_DISABLE_TIMEOUT 0

M keyboards/drop/sense75/sense75.c => keyboards/drop/sense75/sense75.c +1 -1
@@ 3,7 3,7 @@
#include "rgb_matrix.h"

#ifdef RGB_MATRIX_ENABLE
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
// top underglow sd2-sd17
    { 0, B_2,  A_2,  C_2  },
    { 0, B_3,  A_3,  C_3  },

M keyboards/keychron/q0/rev_0130/config.h => keyboards/keychron/q0/rev_0130/config.h +1 -1
@@ 18,7 18,7 @@

/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 21
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL

/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 4

M keyboards/keychron/q0/rev_0130/rev_0130.c => keyboards/keychron/q0/rev_0130/rev_0130.c +1 -1
@@ 18,7 18,7 @@

#ifdef RGB_MATRIX_ENABLE

const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to CKLED manual for these locations
 *   driver
 *   |  R location

M keyboards/saevus/cor_tkl/config.h => keyboards/saevus/cor_tkl/config.h +1 -1
@@ 21,6 21,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* RGB Matrix setup */
#define RGB_DI_PIN GP19
#define DRIVER_LED_TOTAL 2
#define RGB_MATRIX_LED_COUNT 2
#define RGBLED_NUM 2
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral