Explorar o código

Reduce includes for wpm header (#18949)

Joel Challis %!s(int64=2) %!d(string=hai) anos
pai
achega
fb96b88842
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 3 1
      quantum/wpm.c
  2. 2 1
      quantum/wpm.h

+ 3 - 1
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

+ 2 - 1
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