Skip to content

Commit

Permalink
Small fix for Espressif v1.6.0 compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers authored Sep 3, 2018
1 parent d2c7011 commit 0702481
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions adem/libraries/I2Cdev/I2Cdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0702481

Please sign in to comment.