diff options
author | Joel Challis <git@zvecr.com> | 2020-04-06 21:31:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 21:31:34 +0100 |
commit | 6c8e205fc0e5bc6372f057a257937ec3f88d5b8d (patch) | |
tree | a720a8700f3d8dbb474b8bd7ba9602b3861fbba2 /keyboards/cannonkeys/ortho48 | |
parent | 79010067539ad2043bd41e9701aa1cde21aec5d1 (diff) |
Remove keyboard level ws2812 spi drivers (#7694)
Diffstat (limited to 'keyboards/cannonkeys/ortho48')
-rw-r--r-- | keyboards/cannonkeys/ortho48/config.h | 8 | ||||
-rw-r--r-- | keyboards/cannonkeys/ortho48/rules.mk | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index bab0b95c06..c3b9dee186 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h @@ -52,14 +52,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_ANIMATIONS - -#define WS2812_LED_N 9 -#define RGBLED_NUM WS2812_LED_N -#define PORT_WS2812 GPIOB -#define PIN_WS2812 15 +#define RGB_DI_PIN B15 +#define RGBLED_NUM 9 #define WS2812_SPI SPID2 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/cannonkeys/ortho48/rules.mk b/keyboards/cannonkeys/ortho48/rules.mk index 9c9b79e425..f2fc3e128e 100644 --- a/keyboards/cannonkeys/ortho48/rules.mk +++ b/keyboards/cannonkeys/ortho48/rules.mk @@ -22,6 +22,7 @@ SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend NKRO_ENABLE = yes # USB Nkey Rollover BACKLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes +WS2812_DRIVER = spi LAYOUTS = ortho_4x12 |