Remove lingering DRIVER_LED_TOTAL
references (#18475)
This commit is contained in:
parent
d69c7849b0
commit
c7a65558ee
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue