summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-04 00:50:59 +0000
committerGitHub <noreply@github.com>2022-11-04 00:50:59 +0000
commitfb96b88842f4481df8942768f43813b489ca5c3a (patch)
tree430191d0eabdea2ef1d3ef2000908ef129324c0c /quantum
parent1249f74b31863bc0118057884abae10de698e4a5 (diff)
Reduce includes for wpm header (#18949)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/wpm.c4
-rw-r--r--quantum/wpm.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/quantum/wpm.c b/quantum/wpm.c
index b2e6fe0430..6a4e39a8d6 100644
--- a/quantum/wpm.c
+++ b/quantum/wpm.c
@@ -16,7 +16,9 @@
*/
#include "wpm.h"
-
+#include "timer.h"
+#include "keycode.h"
+#include "quantum_keycodes.h"
#include <math.h>
// WPM Stuff
diff --git a/quantum/wpm.h b/quantum/wpm.h
index 305d75b450..87a55fd422 100644
--- a/quantum/wpm.h
+++ b/quantum/wpm.h
@@ -17,7 +17,8 @@
#pragma once
-#include "quantum.h"
+#include <stdbool.h>
+#include <stdint.h>
#ifndef WPM_ESTIMATED_WORD_SIZE
# define WPM_ESTIMATED_WORD_SIZE 5