Skip to content

Commit 52fa2d6

Browse files
committed
Don't log pinState each 0.5s
1 parent c76a406 commit 52fa2d6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/digitalIO/Wippersnapper_DigitalGPIO.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,6 @@ void Wippersnapper_DigitalGPIO::processDigitalInputs() {
342342
} else if (_digital_input_pins[i].period == 0L) {
343343
// read pin
344344
int pinVal = digitalReadSvc(_digital_input_pins[i].pinName);
345-
if (curTime - _digital_input_pins[i].prvPeriod > 500) {
346-
WS_DEBUG_PRINT("D");
347-
WS_DEBUG_PRINT(_digital_input_pins[i].pinName);
348-
WS_DEBUG_PRINT(" is ");
349-
WS_DEBUG_PRINT(pinVal);
350-
}
351345
// only send on-change, but we don't know initial state of feed
352346
// (prvPinVal at boot)
353347
if (pinVal != _digital_input_pins[i].prvPinVal) {

0 commit comments

Comments
 (0)