summaryrefslogtreecommitdiff
path: root/keyboards/opendeck/32/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/opendeck/32/rev1')
-rw-r--r--keyboards/opendeck/32/rev1/config.h6
-rw-r--r--keyboards/opendeck/32/rev1/info.json4
-rw-r--r--keyboards/opendeck/32/rev1/rev1.c2
-rw-r--r--keyboards/opendeck/32/rev1/rules.mk6
4 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/opendeck/32/rev1/config.h b/keyboards/opendeck/32/rev1/config.h
index ba07576ee2..356bc42571 100644
--- a/keyboards/opendeck/32/rev1/config.h
+++ b/keyboards/opendeck/32/rev1/config.h
@@ -15,11 +15,8 @@
*/
#pragma once
-#include "config_common.h"
// Key matrix (TtB, LtR)
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 8
#define MATRIX_COL_PINS \
{ B4, D7, D6, D4, F7, F6, F5, F4 }
#define MATRIX_ROW_PINS \
@@ -82,9 +79,6 @@
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-// Set 0 if debouncing isn't needed
-#define DEBOUNCE 5
-
#define FORCE_NKRO
// Slim down the ROM
diff --git a/keyboards/opendeck/32/rev1/info.json b/keyboards/opendeck/32/rev1/info.json
new file mode 100644
index 0000000000..042c41f34d
--- /dev/null
+++ b/keyboards/opendeck/32/rev1/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu"
+}
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c
index b803682b7d..5d546afb29 100644
--- a/keyboards/opendeck/32/rev1/rev1.c
+++ b/keyboards/opendeck/32/rev1/rev1.c
@@ -102,7 +102,7 @@ void keyboard_pre_init_kb(void) {
setPinInput(RGB_IRQ_N_PIN);
}
-void keyboard_post_init_user() {
+void keyboard_post_init_user(void) {
// RGB enabled by default, no way to turn off. No need to expend EEPROM write cycles here.
rgb_matrix_enable_noeeprom();
}
diff --git a/keyboards/opendeck/32/rev1/rules.mk b/keyboards/opendeck/32/rev1/rules.mk
index 91031bcb22..15bc9d0a1d 100644
--- a/keyboards/opendeck/32/rev1/rules.mk
+++ b/keyboards/opendeck/32/rev1/rules.mk
@@ -1,12 +1,6 @@
-# MCU name
-MCU = atmega32u4
-
# Processor frequency
F_CPU = 8000000
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#