summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/rev1
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-06 10:47:26 -0700
committerGitHub <noreply@github.com>2021-07-06 10:47:26 -0700
commit792c4e7893af4a2561794b6f067327d33f39847c (patch)
tree0f3a32036593969d397f0b68c9cac62d7f4ca14a /keyboards/crkbd/rev1
parentacf7de7a52c16dd994305ce289e60e4894ff04d0 (diff)
[Keyboard] Set reasonable defaults for Corne keyboard (#13440)
* [Keyboard] Set reasonable defaults for Corne keyboard * Add note about bootmagic * Make bootmagic config super weak * cleanup * Apply suggestions from code review * Update keyboards/crkbd/readme.md
Diffstat (limited to 'keyboards/crkbd/rev1')
-rw-r--r--keyboards/crkbd/rev1/config.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h
index 95ffb6d5bf..337859d05c 100644
--- a/keyboards/crkbd/rev1/config.h
+++ b/keyboards/crkbd/rev1/config.h
@@ -22,17 +22,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SOFT_SERIAL_PIN D2
/* ws2812 RGB LED */
-#define RGB_DI_PIN D3
+#define RGB_DI_PIN D3
#ifdef RGBLIGHT_ENABLE
-# define RGBLED_NUM 12 // Number of LEDs
+# define RGBLED_NUM 12 // Number of LEDs
+# define RGBLED_SPLIT \
+ { 6, 6 }
# define RGBLIGHT_SPLIT
#endif
#ifdef RGB_MATRIX_ENABLE
-# define RGBLED_NUM 54 // Number of LEDs
+# define RGBLED_NUM 54 // Number of LEDs
# define DRIVER_LED_TOTAL RGBLED_NUM
-# define RGB_MATRIX_SPLIT { 27, 27 }
+# define RGB_MATRIX_SPLIT \
+ { 27, 27 }
# define SPLIT_TRANSPORT_MIRROR
#endif