소스 검색

Reduce includes for wpm header (#18949)

Joel Challis 2 년 전
부모
커밋
fb96b88842
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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