Skip to content

Commit

Permalink
minor message change
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-rogers committed Aug 5, 2024
1 parent 1c3af6a commit 4ef43e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ void jsd_inspect_context(jsd_t* self) {
/* first check if the jsd bus is operational so we can get more info */
if (bus_state != EC_STATE_OPERATIONAL) {
ERROR("JSD bus is not OPERATIONAL.");
return;
}

/* one or more slaves may not be responding */
Expand Down Expand Up @@ -272,6 +271,9 @@ void jsd_inspect_context(jsd_t* self) {
if (total_operational_devices == *self->ecx_context.slavecount) {
MSG("All slaves were operational at time of working counter fault.");
}
else {
MSG("Some slaves were not operational. Error list displayed below:\n %s", ecx_elist2string(self->ecx_context));
}
}

void jsd_read(jsd_t* self, int timeout_us) {
Expand Down

0 comments on commit 4ef43e2

Please sign in to comment.