diff options
author | Joel Challis <[email protected]> | 2023-03-23 05:30:30 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-23 05:30:30 +0000 |
commit | b01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc (patch) | |
tree | dacbffac9d1918eb8962f631517cfec544adb965 /quantum/velocikey.c | |
parent | 42aa83787fd0d3a5acd0ac7fbe7d148648be742d (diff) | |
download | qmk_firmware-b01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc.tar.gz qmk_firmware-b01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc.zip |
Tidy up duplication of MIN/MAX fallback implementations (#20236)
Diffstat (limited to 'quantum/velocikey.c')
-rw-r--r-- | quantum/velocikey.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/quantum/velocikey.c b/quantum/velocikey.c index 58e14215bb..03e91911f6 100644 --- a/quantum/velocikey.c +++ b/quantum/velocikey.c @@ -2,13 +2,7 @@ #include "timer.h" #include "eeconfig.h" #include "eeprom.h" - -#ifndef MIN -# define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#endif -#ifndef MAX -# define MAX(a, b) (((a) > (b)) ? (a) : (b)) -#endif +#include "util.h" #define TYPING_SPEED_MAX_VALUE 200 uint8_t typing_speed = 0; |