aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_5x12/xyverz/config.h
diff options
context:
space:
mode:
authorGravatar Alex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
committerGravatar Alex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
commit47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch)
tree65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /layouts/community/ortho_5x12/xyverz/config.h
parentac9b88e8ccbbf38762871504cd827ff0d941c426 (diff)
parent563ce3f225d981ce460c12ca5130dfe47af41df0 (diff)
downloadqmk_firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.tar.gz
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'layouts/community/ortho_5x12/xyverz/config.h')
-rw-r--r--layouts/community/ortho_5x12/xyverz/config.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/layouts/community/ortho_5x12/xyverz/config.h b/layouts/community/ortho_5x12/xyverz/config.h
index 0481aa814..4489c6e5f 100644
--- a/layouts/community/ortho_5x12/xyverz/config.h
+++ b/layouts/community/ortho_5x12/xyverz/config.h
@@ -7,16 +7,18 @@
/* ws2812 RGB LED */
#undef RGB_DI_PIN
-#define RGB_DI_PIN B3
-#undef RGBLED_NUM
-#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 11 // Number of LEDs
-#undef RGBLIGHT_HUE_STEP
-#define RGBLIGHT_HUE_STEP 8
-#undef RGBLIGHT_SAT_STEP
-#define RGBLIGHT_SAT_STEP 8
-#undef RGBLIGHT_VAL_STEP
-#define RGBLIGHT_VAL_STEP 8
+#if defined(KEYBOARD_preonic_rev2)
+ #define RGB_DI_PIN B3
+ #undef RGBLED_NUM
+ #define RGBLIGHT_ANIMATIONS
+ #define RGBLED_NUM 11 // Number of LEDs
+ #undef RGBLIGHT_HUE_STEP
+ #define RGBLIGHT_HUE_STEP 8
+ #undef RGBLIGHT_SAT_STEP
+ #define RGBLIGHT_SAT_STEP 8
+ #undef RGBLIGHT_VAL_STEP
+ #define RGBLIGHT_VAL_STEP 8
+#endif
// for the split boards //
#define USE_SERIAL