Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan 2023-04-06 18:00:54 +10:00 committed by GitHub
parent 71c22a12db
commit 47966dc2a6
Failed to generate hash of commit
2600 changed files with 4027 additions and 1909 deletions

View file

@ -18,7 +18,7 @@
/* ws2812 RGB LED */
#if defined(KEYBOARD_fractal)
# define RGB_DI_PIN D2
# define WS2812_DI_PIN D2
# undef RGBLED_NUM
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD

View file

@ -6,10 +6,10 @@
/* ws2812 RGB LED */
#ifndef RGBLIGHT_ENABLE
#undef RGB_DI_PIN
#undef WS2812_DI_PIN
#endif
#if defined(KEYBOARD_preonic_rev2)
#define RGB_DI_PIN B3
#define WS2812_DI_PIN B3
#undef RGBLED_NUM
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD