Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-rogers committed Aug 13, 2024
1 parent d11d65c commit b0cae7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ bool jsd_init(jsd_t* self, const char* ifname, uint8_t enable_autorecovery) {
bool jsd_all_slaves_operational(jsd_t* self) {
int slave;
bool all_slaves_operational = true;

uint8_t currentgroup = 0; // only 1 rate group in JSD currently
/* one or more slaves may not be responding */
for (slave = 1; slave <= *self->ecx_context.slavecount; slave++) {
if (self->ecx_context.slavelist[slave].group != currentgroup) continue;
Expand Down

0 comments on commit b0cae7c

Please sign in to comment.