diff --git a/src/MCP7940.cpp b/src/MCP7940.cpp index e935de6..d76a04a 100644 --- a/src/MCP7940.cpp +++ b/src/MCP7940.cpp @@ -249,7 +249,7 @@ bool MCP7940_Class::begin(const uint8_t sda, const uint8_t scl, const uint32_t i */ #if defined(ESP8266) Wire.begin(sda, scl); // Start I2C as master device using the specified SDA and SCL -#elif defined(ESP8266) +#elif Wire.begin(); // Start I2C as master device #endif (void)sda; // force compiler to ignore this potentially unused parameter