Tidy up duplication of MIN/MAX fallback implementations (#20236)
This commit is contained in:
parent
42aa83787f
commit
b01dc36fbf
8 changed files with 7 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue