summaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/ortho60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-26 18:22:12 +1100
committerGitHub <noreply@github.com>2023-03-26 18:22:12 +1100
commit36ce81df592ca8e9f9fed498e513437aa1cae54f (patch)
tree5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/cannonkeys/ortho60
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/cannonkeys/ortho60')
-rw-r--r--keyboards/cannonkeys/ortho60/info.json3
-rw-r--r--keyboards/cannonkeys/ortho60/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/cannonkeys/ortho60/info.json b/keyboards/cannonkeys/ortho60/info.json
index edb26a8ed1..80d58dbe21 100644
--- a/keyboards/cannonkeys/ortho60/info.json
+++ b/keyboards/cannonkeys/ortho60/info.json
@@ -18,6 +18,9 @@
"levels": 6,
"breathing": true
},
+ "ws2812": {
+ "driver": "spi"
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_5x12"],
diff --git a/keyboards/cannonkeys/ortho60/rules.mk b/keyboards/cannonkeys/ortho60/rules.mk
index f7dee7ff20..57a302eec3 100644
--- a/keyboards/cannonkeys/ortho60/rules.mk
+++ b/keyboards/cannonkeys/ortho60/rules.mk
@@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
-WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE