summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_stm32
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_stm32')
-rw-r--r--keyboards/ergodox_stm32/ergodox_stm32.c2
-rw-r--r--keyboards/ergodox_stm32/matrix.c9
2 files changed, 4 insertions, 7 deletions
diff --git a/keyboards/ergodox_stm32/ergodox_stm32.c b/keyboards/ergodox_stm32/ergodox_stm32.c
index 8419b40f41..2a919506dc 100644
--- a/keyboards/ergodox_stm32/ergodox_stm32.c
+++ b/keyboards/ergodox_stm32/ergodox_stm32.c
@@ -1,5 +1,5 @@
+#include "ergodox_stm32.h"
#include "i2c_master.h"
-#include QMK_KEYBOARD_H
extern inline void ergodox_board_led_1_on(void);
extern inline void ergodox_board_led_2_on(void);
diff --git a/keyboards/ergodox_stm32/matrix.c b/keyboards/ergodox_stm32/matrix.c
index 2046e39c1f..3eb35cd7bb 100644
--- a/keyboards/ergodox_stm32/matrix.c
+++ b/keyboards/ergodox_stm32/matrix.c
@@ -1,13 +1,10 @@
-#include <stdint.h>
-#include <stdbool.h>
+#include "matrix.h"
#include <string.h>
-#include <hal.h>
#include "timer.h"
#include "wait.h"
-#include "print.h"
-#include "matrix.h"
+#include "debug.h"
#include "i2c_master.h"
-#include QMK_KEYBOARD_H
+#include "ergodox_stm32.h"
#ifndef DEBOUNCE
#define DEBOUNCE 10