aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/Print.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h
index 7b53aa4..d099a3b 100644
--- a/cores/arduino/Print.h
+++ b/cores/arduino/Print.h
@@ -29,6 +29,9 @@
#define DEC 10
#define HEX 16
#define OCT 8
+#ifdef BIN // Prevent warnings if BIN is previously defined in "iotnx4.h" or similar
+#undef BIN
+#endif
#define BIN 2
class Print