small but important bugfix for health service

This commit is contained in:
Robin Müller 2023-02-01 19:58:27 +01:00
parent bd586f6564
commit d9d253d3bb
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -121,7 +121,7 @@ ReturnValue_t CServiceHealthCommanding::handleReply(const CommandMessage *reply,
void CServiceHealthCommanding::doPeriodicOperation() {
if (reportAllHealth) {
for (uint8_t i = 0; i < maxNumHealthInfoPerCycle; i++) {
ReturnValue_t result = iterateHealthTable(true);
ReturnValue_t result = iterateHealthTable(false);
if (result != returnvalue::OK) {
reportAllHealth = false;
break;