Skip to content

Commit

Permalink
More information
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-rogers committed Sep 5, 2024
1 parent e5aac94 commit 2ae3833
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ bool jsd_init(jsd_t* self, const char* ifname, uint8_t enable_autorecovery, int
WARNING("Failed OP transition attempt %d of %d", attempt,
JSD_PO2OP_MAX_ATTEMPTS);

WARNING("Performing inspect context in jsd init.")
jsd_inspect_context(self);

if (attempt >= JSD_PO2OP_MAX_ATTEMPTS) {
Expand Down Expand Up @@ -688,7 +689,7 @@ void jsd_ecatcheck(jsd_t* self) {

if ((bus_state == EC_STATE_OPERATIONAL && self->wkc < self->expected_wkc) ||
self->ecx_context.grouplist[currentgroup].docheckstate) {
/* one ore more slaves are not responding */
/* one or more slaves are not responding */
self->ecx_context.grouplist[currentgroup].docheckstate = FALSE;
ecx_readstate(&self->ecx_context);
for (slave = 1; slave <= *self->ecx_context.slavecount; slave++) {
Expand Down

0 comments on commit 2ae3833

Please sign in to comment.