From b8e73ea388c247c737250891954594e7dd4307e3 Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Tue, 18 Sep 2007 14:17:49 +0000 Subject: [PATCH] Allow EEPROM writing when slave has error flag set. --- master/fsm_master.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master/fsm_master.c b/master/fsm_master.c index b5e90ae9..1a375fa4 100644 --- a/master/fsm_master.c +++ b/master/fsm_master.c @@ -329,8 +329,8 @@ int ec_fsm_master_action_process_eeprom( up(&master->eeprom_sem); slave = request->slave; - if (slave->online_state == EC_SLAVE_OFFLINE || slave->error_flag) { - EC_ERR("Discarding EEPROM data, slave %i not ready.\n", + if (slave->online_state == EC_SLAVE_OFFLINE) { + EC_ERR("Discarding EEPROM data, slave %i offline.\n", slave->ring_position); request->state = EC_REQUEST_FAILURE; wake_up(&master->eeprom_queue); -- GitLab