Skip to content

Commit 4ef43e2

Browse files
minor message change
1 parent 1c3af6a commit 4ef43e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jsd.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ void jsd_inspect_context(jsd_t* self) {
242242
/* first check if the jsd bus is operational so we can get more info */
243243
if (bus_state != EC_STATE_OPERATIONAL) {
244244
ERROR("JSD bus is not OPERATIONAL.");
245-
return;
246245
}
247246

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

277279
void jsd_read(jsd_t* self, int timeout_us) {

0 commit comments

Comments
 (0)