diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-20 08:12:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 08:12:05 +1100 |
commit | 3c144fac5e2b634166f6b9cc0fc45029d63d3398 (patch) | |
tree | c3e408ca9fa27721c19f4fc0ba8b4119798e5dd2 /keyboards/ergodox_stm32 | |
parent | 9d302f9b7fa7fc88766de322a52d1a1be38e723c (diff) |
Clean up usage of `QMK_KEYBOARD_H` (#20167)
Diffstat (limited to 'keyboards/ergodox_stm32')
-rw-r--r-- | keyboards/ergodox_stm32/ergodox_stm32.c | 2 | ||||
-rw-r--r-- | keyboards/ergodox_stm32/matrix.c | 9 |
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 |