Skip to content

Commit 491a12b

Browse files
rtrbtMattiasTF
authored andcommitted
Arduino.h: Remove _min. Is never used.
We want to use _min as literal suffix for minutes_t.
1 parent aa98b1b commit 491a12b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cores/esp32/Arduino.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
#endif
7474

7575
// can't define max() / min() because of conflicts with C++
76-
#define _min(a, b) ((a) < (b) ? (a) : (b))
7776
#define _max(a, b) ((a) > (b) ? (a) : (b))
7877
#define _abs(x) ((x) > 0 ? (x) : -(x)) // abs() comes from STL
7978
#define constrain(amt, low, high) ((amt) < (low) ? (low) : ((amt) > (high) ? (high) : (amt)))

0 commit comments

Comments
 (0)