aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/stm32f072
diff options
context:
space:
mode:
authorGravatar Andrew Kannan <andrew.kannan@klaviyo.com>2019-09-16 22:37:51 -0400
committerGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-09-16 19:37:51 -0700
commit59af2cbe640191345175bf34fd65f78ab1036647 (patch)
tree52fa752e63ca9f7c3056ac78cfbaf8cdd12f328f /keyboards/cannonkeys/stm32f072
parent7c1bb9decf00a19cdf85ab33830dcc9002bfc671 (diff)
downloadqmk_firmware-59af2cbe640191345175bf34fd65f78ab1036647.tar.gz
Add Chimera65 Keyboard (#6670)
* Add chimera board * info json start * Update keyboards/cannonkeys/chimera65/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/cannonkeys/chimera65/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/cannonkeys/stm32f072')
-rw-r--r--keyboards/cannonkeys/stm32f072/keyboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/cannonkeys/stm32f072/keyboard.c b/keyboards/cannonkeys/stm32f072/keyboard.c
index 9520398d0..5a9ccafff 100644
--- a/keyboards/cannonkeys/stm32f072/keyboard.c
+++ b/keyboards/cannonkeys/stm32f072/keyboard.c
@@ -86,10 +86,9 @@ void matrix_init_board(void);
void matrix_init_kb(void){
eeprom_init_kb();
/* MOSI pin*/
+#ifdef RGBLIGHT_ENABLE
palSetPadMode(PORT_WS2812, PIN_WS2812, PAL_MODE_ALTERNATE(0));
wait_ms(500);
-
-#ifdef RGBLIGHT_ENABLE
leds_init();
#endif
backlight_init_ports();