summaryrefslogtreecommitdiff
path: root/keyboards/opendeck/32/rev1/rev1.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/opendeck/32/rev1/rev1.c')
-rw-r--r--keyboards/opendeck/32/rev1/rev1.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c
index 0b062ecd38..2bf04f8479 100644
--- a/keyboards/opendeck/32/rev1/rev1.c
+++ b/keyboards/opendeck/32/rev1/rev1.c
@@ -17,7 +17,7 @@
#include "rev1.h"
#ifdef RGB_MATRIX_ENABLE
-const is31fl3731_led_t PROGMEM g_is31fl3731_leds[RGB_MATRIX_LED_COUNT] = {
+const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
@@ -100,11 +100,15 @@ void keyboard_pre_init_kb(void) {
// We don't use this feature of the IS31FL3731 but it is electrically connected
// Make sure not to drive it
setPinInput(RGB_IRQ_N_PIN);
+
+ keyboard_pre_init_user();
}
-void keyboard_post_init_user(void) {
+void keyboard_post_init_kb(void) {
// RGB enabled by default, no way to turn off. No need to expend EEPROM write cycles here.
rgb_matrix_enable_noeeprom();
+
+ keyboard_post_init_user();
}
#endif