freoduo: define RGBLight config at keyboard level (#11491)

Configurator compiles fail without the number of LEDs defined here. Included the rest to match the default keymap's settings.
master
James Young 2021-01-10 15:00:17 -08:00 committed by GitHub
parent d58d7dd192
commit 46b3245d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGB_DI_PIN D4 #define RGB_DI_PIN D4
#if !defined(RGBLED_NUM)
# define RGBLED_NUM 18
# define RGBLIGHT_SPLIT
# define RGBLED_SPLIT { 9, 9 }
// Switch RGB sides with LED MAP.
# define RGBLIGHT_LED_MAP { 8, 7, 6, 5, 4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9}
# define RGBLIGHT_LAYERS
#endif
#define RGBLIGHT_ANIMATIONS #define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP
#define RGBLIGHT_HUE_STEP 16 #define RGBLIGHT_HUE_STEP 16