summaryrefslogtreecommitdiff
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
parent1249f74b31863bc0118057884abae10de698e4a5 (diff)
Reduce includes for wpm header (#18949)
-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 @@
16 */ 16 */
17 17
18#include "wpm.h" 18#include "wpm.h"
19 19#include "timer.h"
20#include "keycode.h"
21#include "quantum_keycodes.h"
20#include <math.h> 22#include <math.h>
21 23
22// WPM Stuff 24// 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 @@
17 17
18#pragma once 18#pragma once
19 19
20#include "quantum.h" 20#include <stdbool.h>
21#include <stdint.h>
21 22
22#ifndef WPM_ESTIMATED_WORD_SIZE 23#ifndef WPM_ESTIMATED_WORD_SIZE
23# define WPM_ESTIMATED_WORD_SIZE 5 24# define WPM_ESTIMATED_WORD_SIZE 5