From 2dd406f08fc5d9877c8fd2642e94975eae37e86f Mon Sep 17 00:00:00 2001
From: Ryan
Date: Sun, 31 Mar 2024 01:07:19 +1100
Subject: Remove `quantum.h` includes from keyboard custom `matrix.c`s (#23371)
---
keyboards/planck/rev6_drop/matrix.c | 3 ++-
keyboards/planck/rev7/matrix.c | 7 +++----
2 files changed, 5 insertions(+), 5 deletions(-)
(limited to 'keyboards/planck')
diff --git a/keyboards/planck/rev6_drop/matrix.c b/keyboards/planck/rev6_drop/matrix.c
index e31e473ae2..d140356738 100644
--- a/keyboards/planck/rev6_drop/matrix.c
+++ b/keyboards/planck/rev6_drop/matrix.c
@@ -15,7 +15,8 @@
* along with this program. If not, see .
*/
-#include "quantum.h"
+#include "matrix.h"
+#include "wait.h"
/* matrix state(1:on, 0:off) */
static pin_t matrix_row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
diff --git a/keyboards/planck/rev7/matrix.c b/keyboards/planck/rev7/matrix.c
index 350ce93ce0..8cadfa5e8d 100644
--- a/keyboards/planck/rev7/matrix.c
+++ b/keyboards/planck/rev7/matrix.c
@@ -15,11 +15,10 @@
* along with this program. If not, see .
*/
-#include "gpio.h"
-#include "hal_pal.h"
-#include "hal_pal_lld.h"
-#include "quantum.h"
+#include "matrix.h"
+#include
#include
+#include "wait.h"
// STM32-specific watchdog config calculations
// timeout = 31.25us * PR * (RL + 1)
--
cgit v1.2.3