Avoid rescan on non-responding slave.

This commit is contained in:
Florian Pose
2025-04-03 16:19:07 +02:00
parent 1a6af314d8
commit 527c8b52cf

View File

@@ -771,10 +771,8 @@ void ec_fsm_master_state_read_state(
if (datagram->working_counter != 1) {
if (!slave->error_flag) {
slave->error_flag = 1;
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query. "
"Re-scanning on next possibility...\n");
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query.\n");
}
fsm->rescan_required = 1;
ec_fsm_master_restart(fsm);
return;
}