diff --git a/cores/arduino/Wire.cpp b/cores/arduino/Wire.cpp index 57719de..0a51eb8 100644 --- a/cores/arduino/Wire.cpp +++ b/cores/arduino/Wire.cpp @@ -28,7 +28,9 @@ extern "C" { #include -#define USEDI2CDEV_M 1 +#ifndef USEDI2CDEV_M + #define USEDI2CDEV_M 1 +#endif #if (USEDI2CDEV_M == 0) #define I2CDEV_M LPC_I2C0