From 3dea57022b6b2ef898c752bcaba976ebfac3418f Mon Sep 17 00:00:00 2001 From: Bernator Date: Sun, 4 Nov 2018 10:05:08 +0100 Subject: [PATCH] Update bau_systemB.cpp Bugfix, WriteRequest of last Object in Object Table was not processed --- bau_systemB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bau_systemB.cpp b/bau_systemB.cpp index 77d369c..129fafd 100644 --- a/bau_systemB.cpp +++ b/bau_systemB.cpp @@ -40,7 +40,7 @@ void BauSystemB::sendNextGroupTelegram() GroupObjectTableObject& table = _groupObjTable; uint16_t objCount = table.entryCount(); - for (uint16_t asap = startIdx; asap < objCount; asap++) + for (uint16_t asap = startIdx; asap <= objCount; asap++) { GroupObject& go = table.get(asap);