aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-03-31 01:07:19 +1100
committerGitHub <[email protected]>2024-03-30 14:07:19 +0000
commit2dd406f08fc5d9877c8fd2642e94975eae37e86f (patch)
tree97f1833428dff865e99a2332a9c779fc02ff803d /keyboards/planck
parent76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4 (diff)
downloadqmk_firmware-2dd406f08fc5d9877c8fd2642e94975eae37e86f.tar.gz
qmk_firmware-2dd406f08fc5d9877c8fd2642e94975eae37e86f.zip
Remove `quantum.h` includes from keyboard custom `matrix.c`s (#23371)
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/rev6_drop/matrix.c3
-rw-r--r--keyboards/planck/rev7/matrix.c7
2 files changed, 5 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
*/
-#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 <http://www.gnu.org/licenses/>.
*/
-#include "gpio.h"
-#include "hal_pal.h"
-#include "hal_pal_lld.h"
-#include "quantum.h"
+#include "matrix.h"
+#include <hal_pal.h>
#include <math.h>
+#include "wait.h"
// STM32-specific watchdog config calculations
// timeout = 31.25us * PR * (RL + 1)