diff --git a/libraries/Max44009/max44009.cpp b/libraries/Max44009/max44009.cpp index ed366308..1a4dc0f3 100644 --- a/libraries/Max44009/max44009.cpp +++ b/libraries/Max44009/max44009.cpp @@ -26,7 +26,7 @@ Max44009::Max44009(const uint8_t address, const uint8_t dataPin, const uint8_t clockPin) { _address = address; - if ((dataPin < 255) && (dataPin < 255)) + if ((dataPin < 255) && (clockPin < 255)) { Wire.begin(dataPin, clockPin); } else {