diff --git a/src/common/include/common/i2c.h b/src/common/include/common/i2c.h index ca7cfc6..c8102fe 100644 --- a/src/common/include/common/i2c.h +++ b/src/common/include/common/i2c.h @@ -6,6 +6,11 @@ #include #include +// Prevent failures to compile on AVR +#ifndef __SDCC + #define __reentrant +#endif + // I2C bus, should be defined elsewhere struct I2C;