We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3540c15 commit d4d4bebCopy full SHA for d4d4beb
cores/esp8266/Arduino.h
@@ -112,8 +112,6 @@ void timer1_write(uint32_t ticks); //maximum ticks 8388607
112
#undef abs
113
#endif
114
115
-#define min(a,b) ((a)<(b)?(a):(b))
116
-#define max(a,b) ((a)>(b)?(a):(b))
117
#define abs(x) ((x)>0?(x):-(x))
118
#define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
119
#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
@@ -215,6 +213,9 @@ void loop(void);
215
213
#include "Esp.h"
216
214
#include "debug.h"
217
+#define min(a,b) ((a)<(b)?(a):(b))
+#define max(a,b) ((a)>(b)?(a):(b))
218
+
219
uint16_t makeWord(uint16_t w);
220
uint16_t makeWord(byte h, byte l);
221
0 commit comments