diff --git a/IO_EXIO485.cpp b/IO_EXIO485.cpp index c44d629..878736c 100644 --- a/IO_EXIO485.cpp +++ b/IO_EXIO485.cpp @@ -87,6 +87,7 @@ void EXIO485::_loop(unsigned long currentMicros) { buffB[2] = (EXIORDAN); addTask(buffB, 3, EXIORDAN); _currentNode = _currentNode->getNext(); + DIAG(F("Polling")); } if ( hasTasks() && _currentMicros - _cycleStartTimeA >= _cycleTime){ @@ -111,7 +112,7 @@ void EXIO485::_loop(unsigned long currentMicros) { if (_txPin != -1) digitalWrite(_txPin,LOW); // delete task command after sending, for now currentTask->rxMode = true; - + DIAG(F("Task")); markTaskCompleted(currentTask->taskID); } }