1
0
Fork 0

Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570)

This commit is contained in:
Ryan 2023-12-12 15:30:08 +11:00 committed by GitHub
parent 3c7e9a6827
commit e648155113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 254 additions and 263 deletions

View file

@ -50,20 +50,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Helix keyboard RGB LED support
// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
#ifdef RGBLED_BACK
#define RGBLED_NUM 25
#define RGBLIGHT_LED_COUNT 25
#else
#define RGBLED_NUM 6
#define RGBLIGHT_LED_COUNT 6
#endif
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
#if RGBLIGHT_LED_COUNT <= 6
#define RGBLIGHT_LIMIT_VAL 255
#else
#define RGBLIGHT_LIMIT_VAL 130
#endif
#define RGBLIGHT_VAL_STEP 17
#else
#if RGBLED_NUM <= 6
#if RGBLIGHT_LED_COUNT <= 6
#define RGBLIGHT_LIMIT_VAL 90
#else
#define RGBLIGHT_LIMIT_VAL 45