Fix HB state query for consecutive boot messages
This commit is contained in:
parent
b80ec76379
commit
dc3cf84952
1 changed files with 1 additions and 3 deletions
|
|
@ -327,11 +327,9 @@ CO_HBconsumer_process(CO_HBconsumer_t* HBcons, bool_t NMTisPreOrOperational, uin
|
|||
monitoredNode->functSignalObjectRemoteReset);
|
||||
}
|
||||
#endif
|
||||
if (monitoredNode->HBstate == CO_HBconsumer_ACTIVE) {
|
||||
if (monitoredNode->HBstate != CO_HBconsumer_UNKOWN) {
|
||||
CO_errorReport(HBcons->em, CO_EM_HB_CONSUMER_REMOTE_RESET, CO_EMC_HEARTBEAT, i);
|
||||
monitoredNode->HBstate = CO_HBconsumer_RESTART;
|
||||
} else {
|
||||
monitoredNode->HBstate = CO_HBconsumer_UNKNOWN;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue