Skip to content

Commit

Permalink
Useless log
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored and caveman99 committed Nov 26, 2024
1 parent b18b56d commit 271b0f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/detect/ScanI2CTwoWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ uint16_t ScanI2CTwoWire::getRegisterValue(const ScanI2CTwoWire::RegisterLocation
i2cBus->endTransmission();
delay(20);
i2cBus->requestFrom(registerLocation.i2cAddress.address, responseWidth);
LOG_DEBUG("Wire.available() = %d", i2cBus->available());
if (i2cBus->available() == 2) {
// Read MSB, then LSB
value = (uint16_t)i2cBus->read() << 8;
Expand Down

0 comments on commit 271b0f0

Please sign in to comment.