diff options
author | Ryan <fauxpark@gmail.com> | 2022-09-23 22:46:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 22:46:23 +1000 |
commit | 36c410592dbd35da33ccc5fd6d2a5cbf4b25a708 (patch) | |
tree | 4e75c5fc5cd31d9fdc904876906c0b409ee45d90 /layouts | |
parent | d967de0df749f3be63403e07feda416ea09351d0 (diff) |
Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/community/ortho_3x10/bbaserdem/config.h | 2 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/drashna/config.h | 2 | ||||
-rw-r--r-- | layouts/community/split_3x5_3/bbaserdem/config.h | 6 | ||||
-rw-r--r-- | layouts/community/split_3x6_3/drashna/config.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/layouts/community/ortho_3x10/bbaserdem/config.h b/layouts/community/ortho_3x10/bbaserdem/config.h index d781d34478..b792b2e6fa 100644 --- a/layouts/community/ortho_3x10/bbaserdem/config.h +++ b/layouts/community/ortho_3x10/bbaserdem/config.h @@ -17,5 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef KEYBOARD_40percentclub_gherkin #define MUSIC_MAP #define RGB_DI_PIN F6 - #define DRIVER_LED_TOTAL 10 + #define RGB_MATRIX_LED_COUNT 10 #endif diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index 1c88d66f3b..3f47a3dcbc 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h @@ -41,7 +41,7 @@ # undef RGB_MATRIX_LED_PROCESS_LIMIT # undef RGB_MATRIX_LED_FLUSH_LIMIT # ifdef KEYBOARD_planck_rev6 -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # endif #endif diff --git a/layouts/community/split_3x5_3/bbaserdem/config.h b/layouts/community/split_3x5_3/bbaserdem/config.h index 6bb3515b9e..2f7c0f7068 100644 --- a/layouts/community/split_3x5_3/bbaserdem/config.h +++ b/layouts/community/split_3x5_3/bbaserdem/config.h @@ -27,9 +27,9 @@ # ifdef RGBLED_NUM # undef RGBLED_NUM # endif -# ifdef DRIVER_LED_TOTAL -# undef DRIVER_LED_TOTAL +# ifdef RGB_MATRIX_LED_COUNT +# undef RGB_MATRIX_LED_COUNT # endif # define RGBLED_NUM 48 -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM #endif // KEYBOARD_crkbd_rev1 diff --git a/layouts/community/split_3x6_3/drashna/config.h b/layouts/community/split_3x6_3/drashna/config.h index a84d6eef2e..cfe2d4436f 100644 --- a/layouts/community/split_3x6_3/drashna/config.h +++ b/layouts/community/split_3x6_3/drashna/config.h @@ -48,7 +48,7 @@ // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended -// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # ifndef RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |