summaryrefslogtreecommitdiff
path: root/quantum/midi
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-03-23 05:30:30 +0000
committerGitHub <noreply@github.com>2023-03-23 05:30:30 +0000
commitb01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc (patch)
treedacbffac9d1918eb8962f631517cfec544adb965 /quantum/midi
parent42aa83787fd0d3a5acd0ac7fbe7d148648be742d (diff)
Tidy up duplication of MIN/MAX fallback implementations (#20236)
Diffstat (limited to 'quantum/midi')
-rw-r--r--quantum/midi/midi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/midi/midi.c b/quantum/midi/midi.c
index 1ba3e73a40..1c481f2f0b 100644
--- a/quantum/midi/midi.c
+++ b/quantum/midi/midi.c
@@ -18,10 +18,7 @@
#include "midi.h"
#include <string.h> //for memcpy
-
-#ifndef MIN
-# define MIN(x, y) (((x) < (y)) ? (x) : (y))
-#endif
+#include "util.h"
#ifndef NULL
# define NULL 0