1
0
Fork 0

Tidy up duplication of MIN/MAX fallback implementations (#20236)

This commit is contained in:
Joel Challis 2023-03-23 05:30:30 +00:00 committed by GitHub
parent 42aa83787f
commit b01dc36fbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 32 deletions

View file

@ -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;