summaryrefslogtreecommitdiff
path: root/keyboards/macrocat
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/macrocat')
-rw-r--r--keyboards/macrocat/config.h1
-rw-r--r--keyboards/macrocat/macrocat.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/macrocat/config.h b/keyboards/macrocat/config.h
index 851cfe7427..f74f3d9055 100644
--- a/keyboards/macrocat/config.h
+++ b/keyboards/macrocat/config.h
@@ -3,7 +3,6 @@
#pragma once
-#include "config_common.h"
/* rotary encoder */
#define ENCODERS_PAD_A { D3 }
diff --git a/keyboards/macrocat/macrocat.c b/keyboards/macrocat/macrocat.c
index aec76d1912..f00bb01410 100644
--- a/keyboards/macrocat/macrocat.c
+++ b/keyboards/macrocat/macrocat.c
@@ -126,12 +126,12 @@ void encoder_double_click(void) {
void encoder_triple_click(void) {
tap_code(KC_MPRV);
}
-void matrix_init_kb() {
+void matrix_init_kb(void) {
matrix_init_user();
setPinInputHigh(ENCODER_SWITCH);
}
-void matrix_scan_kb() {
+void matrix_scan_kb(void) {
matrix_scan_user();
if (readPin(ENCODER_SWITCH)) {
if (encoder_pressed) { // release switch