Skip to content

Commit b4aac50

Browse files
authored
Update SparkFunSX1509.cpp
1 parent 661570c commit b4aac50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFunSX1509.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ uint16_t SX1509::readWord(uint8_t registerAddress)
750750
uint16_t readValue;
751751
uint16_t msb, lsb;
752752
// Commented the line as variable seems unused;
753-
uint16_t timeout = RECEIVE_TIMEOUT_VALUE * 2;
753+
//uint16_t timeout = RECEIVE_TIMEOUT_VALUE * 2;
754754

755755
_i2cPort->beginTransmission(deviceAddress);
756756
_i2cPort->write(registerAddress);

0 commit comments

Comments
 (0)