This commit is contained in:
Bollie 2018-12-08 12:26:37 +01:00 committed by GitHub
parent f6d173bfc2
commit a2a9f56779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {