From 4ef43e23f67057f2d77327bbe58180f51c5908e3 Mon Sep 17 00:00:00 2001 From: prestonr Date: Mon, 5 Aug 2024 10:29:35 -0700 Subject: [PATCH] minor message change --- src/jsd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jsd.c b/src/jsd.c index 1d5e35b..9114b61 100644 --- a/src/jsd.c +++ b/src/jsd.c @@ -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 */ @@ -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) {