diff --git a/adem/libraries/I2Cdev/I2Cdev.h b/adem/libraries/I2Cdev/I2Cdev.h index e30c8c7..62cbfef 100644 --- a/adem/libraries/I2Cdev/I2Cdev.h +++ b/adem/libraries/I2Cdev/I2Cdev.h @@ -101,6 +101,13 @@ THE SOFTWARE. #define MAX_RETRY 4 +#ifdef ESP8266 +#define min _min +#define max _max +#endif + +#define BUFFER_LENGTH 64 + class I2Cdev { public: I2Cdev();