small but important bugfix for health service
This commit is contained in:
parent
bd586f6564
commit
d9d253d3bb
@ -121,7 +121,7 @@ ReturnValue_t CServiceHealthCommanding::handleReply(const CommandMessage *reply,
|
|||||||
void CServiceHealthCommanding::doPeriodicOperation() {
|
void CServiceHealthCommanding::doPeriodicOperation() {
|
||||||
if (reportAllHealth) {
|
if (reportAllHealth) {
|
||||||
for (uint8_t i = 0; i < maxNumHealthInfoPerCycle; i++) {
|
for (uint8_t i = 0; i < maxNumHealthInfoPerCycle; i++) {
|
||||||
ReturnValue_t result = iterateHealthTable(true);
|
ReturnValue_t result = iterateHealthTable(false);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
reportAllHealth = false;
|
reportAllHealth = false;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user