diff options
author | Less/Rikki <86894501+lesshonor@users.noreply.github.com> | 2023-09-28 06:51:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 11:51:18 +0100 |
commit | 346b06d391dbc760d753a5cffcbbcb58ecc9ce95 (patch) | |
tree | 3c87de30a731a90ee3594f421d4dd54e076d2819 /quantum/rgb_matrix/animations | |
parent | f4677c866e1b4456e1e4bb72265a7d4326eb4816 (diff) |
refactor: move default RGB/LED matrix #defines (#21938)
* refactor: move default RGB/LED matrix #defines
Moving the fallback definitions of macros like LED_MATRIX_VAL_STEP and
RGB_MATRIX_MAXIMUM_BRIGHTNESS to header files allows keyboards to
leverage these defaults without requiring #ifdef guards (and often
repeating said fallback definitions).
* style: use if(n)def for consistency
and remove redundant UINT8_MAX checks on maximum brightness
Co-authored-by: Joel Challis <git@zvecr.com>
* refactor: remove INDICATOR_MAX_BRIGHTNESS macro
Co-authored-by: Joel Challis <git@zvecr.com>
---------
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'quantum/rgb_matrix/animations')
0 files changed, 0 insertions, 0 deletions