fb96b88842f4481df8942768f43813b489ca5c3a

Author
Joel Challis <git@zvecr.com>
Committer
GitHub <noreply@github.com>
Date

Message

Reduce includes for wpm header (#18949)

Diff

 1diff --git a/quantum/wpm.c b/quantum/wpm.c
 2index b2e6fe0430cca56d6289bba420b413133549781b..6a4e39a8d6a782f663225a188f4c41625a423205 100644
 3--- a/quantum/wpm.c
 4+++ b/quantum/wpm.c
 5@@ -16,7 +16,9 @@
 6  */
 7 
 8 #include "wpm.h"
 9-
10+#include "timer.h"
11+#include "keycode.h"
12+#include "quantum_keycodes.h"
13 #include <math.h>
14 
15 // WPM Stuff
16diff --git a/quantum/wpm.h b/quantum/wpm.h
17index 305d75b4508f611bbedd24e9d46a1e2c2c74e194..87a55fd4223d5bbe771ed595eef2bd195b6a6004 100644
18--- a/quantum/wpm.h
19+++ b/quantum/wpm.h
20@@ -17,7 +17,8 @@
21 
22 #pragma once
23 
24-#include "quantum.h"
25+#include <stdbool.h>
26+#include <stdint.h>
27 
28 #ifndef WPM_ESTIMATED_WORD_SIZE
29 #    define WPM_ESTIMATED_WORD_SIZE 5