@@ -379,17 +379,17 @@ void Wippersnapper_AnalogIO::update() {
379379 // TODO: after testing combine these two conditionals to just send the event and not debug print.
380380 if (_analog_input_pins[i].prvPeriod == 0L ) {
381381 // first time reading pin, no previous timestamp so send event + update prvPeriod
382- WS_DEBUG_PRINT (" First time reading pin A" );
383- WS_DEBUG_PRINTLN (_analog_input_pins[i].pinName );
382+ // WS_DEBUG_PRINT("First time reading pin A");
383+ // WS_DEBUG_PRINTLN(_analog_input_pins[i].pinName);
384384 }
385385 else if (timerExpired (millis (), _analog_input_pins[i], 500 )) {
386386 // timer expired, send event + update prvPeriod
387- WS_DEBUG_PRINT (" Timer passed for pin A" );
388- WS_DEBUG_PRINTLN (_analog_input_pins[i].pinName );
387+ // WS_DEBUG_PRINT("Timer passed for pin A");
388+ // WS_DEBUG_PRINTLN(_analog_input_pins[i].pinName);
389389 }
390390 else {
391391 // last event was too recently, skip this one...
392- WS_DEBUG_PRINTLN (" Timer has not expired, continue..." );
392+ // WS_DEBUG_PRINTLN("Timer has not expired, continue...");
393393 continue ;
394394 }
395395
@@ -436,7 +436,7 @@ void Wippersnapper_AnalogIO::update() {
436436 _analog_input_pins[i].prvPeriod = millis ();
437437
438438 } else {
439- WS_DEBUG_PRINTLN (" ADC has not changed enough, continue..." );
439+ // WS_DEBUG_PRINTLN("ADC has not changed enough, continue...");
440440 continue ;
441441 }
442442 // set the pin value in the digital pin object for comparison on next
0 commit comments