Skip to content

Commit

Permalink
Reduce includes for wpm header (qmk#18949)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and ramonimbao committed Nov 28, 2022
1 parent 8fedfb4 commit 4420364
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion quantum/wpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
*/

#include "wpm.h"

#include "timer.h"
#include "keycode.h"
#include "quantum_keycodes.h"
#include <math.h>

// WPM Stuff
Expand Down
3 changes: 2 additions & 1 deletion quantum/wpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4420364

Please sign in to comment.