We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76a406 commit 52fa2d6Copy full SHA for 52fa2d6
src/components/digitalIO/Wippersnapper_DigitalGPIO.cpp
@@ -342,12 +342,6 @@ void Wippersnapper_DigitalGPIO::processDigitalInputs() {
342
} else if (_digital_input_pins[i].period == 0L) {
343
// read pin
344
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
- }
351
// only send on-change, but we don't know initial state of feed
352
// (prvPinVal at boot)
353
if (pinVal != _digital_input_pins[i].prvPinVal) {
0 commit comments