1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

AVR: Prevent warnings if BIN is previously defined

Fix #4784
Close #4791
This commit is contained in:
Cristian Maglie 2017-03-08 13:30:33 +01:00
parent 1fc0997f71
commit c6bac06406

View File

@ -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