diff --git a/nodemanager/Node.cpp b/nodemanager/Node.cpp index 67f020b..58294c7 100644 --- a/nodemanager/Node.cpp +++ b/nodemanager/Node.cpp @@ -288,7 +288,7 @@ void NodeManager::loop() { // call the sensor interrupt() and then loop(), provided the interrupt has been "accepted" by interrupt() if (sensor->interrupt()) sensor->loop(nullptr); } - else if (_last_interrupt_pin == -1) { + else { #endif // if just at the end of a cycle, call all the sensor's loop() sensor->loop(nullptr);