Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lingering DRIVER_LED_TOTAL references #18475

Merged
merged 1 commit into from
Sep 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keyboards/drop/sense75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyboards/drop/sense75/sense75.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keychron/q0/rev_0130/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion keyboards/keychron/q0/rev_0130/rev_0130.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyboards/saevus/cor_tkl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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