summaryrefslogtreecommitdiff
path: root/keyboards/converter/hp_46010a
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/hp_46010a')
-rw-r--r--keyboards/converter/hp_46010a/config.h4
-rw-r--r--keyboards/converter/hp_46010a/info.json2
-rw-r--r--keyboards/converter/hp_46010a/matrix.c16
-rw-r--r--keyboards/converter/hp_46010a/rules.mk6
4 files changed, 5 insertions, 23 deletions
diff --git a/keyboards/converter/hp_46010a/config.h b/keyboards/converter/hp_46010a/config.h
index e189b7d79a..5aa6380c8d 100644
--- a/keyboards/converter/hp_46010a/config.h
+++ b/keyboards/converter/hp_46010a/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
#define MATRIX_ROWS 14
#define MATRIX_COLS 8
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
diff --git a/keyboards/converter/hp_46010a/info.json b/keyboards/converter/hp_46010a/info.json
index aa49bf11df..8492d5f200 100644
--- a/keyboards/converter/hp_46010a/info.json
+++ b/keyboards/converter/hp_46010a/info.json
@@ -8,6 +8,8 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "halfkay",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/converter/hp_46010a/matrix.c b/keyboards/converter/hp_46010a/matrix.c
index 03fcb2424f..7f4e11ab27 100644
--- a/keyboards/converter/hp_46010a/matrix.c
+++ b/keyboards/converter/hp_46010a/matrix.c
@@ -51,16 +51,6 @@ static uint8_t matrix_debounce_new [MATRIX_ROWS] = {0};
#endif
__attribute__ ((weak))
-void matrix_init_quantum(void) {
- matrix_init_kb();
-}
-
-__attribute__ ((weak))
-void matrix_scan_quantum(void) {
- matrix_scan_kb();
-}
-
-__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
@@ -145,7 +135,7 @@ void Matrix_ThrowByte(void) {
return ;
}
-void matrix_init () {
+void matrix_init (void) {
// debug_matrix = 1;
// PB0 (SS) and PB1 (SCLK) set to outputs
DDRB |= RESET | SCLK ;
@@ -161,7 +151,7 @@ void matrix_init () {
DDRD |= LED ;
PORTD &= ~LED ;
- matrix_init_quantum();
+ matrix_init_kb();
//toggle reset, to put the keyboard logic into a known state
Matrix_Reset() ;
@@ -206,7 +196,7 @@ uint8_t matrix_scan(void) {
#endif
Matrix_Reset() ;
- matrix_scan_quantum() ;
+ matrix_scan_kb() ;
return 1;
}
diff --git a/keyboards/converter/hp_46010a/rules.mk b/keyboards/converter/hp_46010a/rules.mk
index 1beb767f99..d4e702622a 100644
--- a/keyboards/converter/hp_46010a/rules.mk
+++ b/keyboards/converter/hp_46010a/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = halfkay
-
# Build Options
# change yes to no to disable
#