1
0
Fork 0

Fix typo in HBstate comparison from UNKOWN to UNKNOWN

This commit is contained in:
Frab012 2026-07-16 09:43:18 +02:00 committed by GitHub
parent 1c63a4fdd0
commit 1c4d728f60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,7 +327,7 @@ CO_HBconsumer_process(CO_HBconsumer_t* HBcons, bool_t NMTisPreOrOperational, uin
monitoredNode->functSignalObjectRemoteReset);
}
#endif
if (monitoredNode->HBstate != CO_HBconsumer_UNKOWN) {
if (monitoredNode->HBstate != CO_HBconsumer_UNKNOWN) {
CO_errorReport(HBcons->em, CO_EM_HB_CONSUMER_REMOTE_RESET, CO_EMC_HEARTBEAT, i);
monitoredNode->HBstate = CO_HBconsumer_RESTART;
}