Minor change.
This commit is contained in:
parent
17c27bf18b
commit
d24c3cbbf7
|
|
@ -503,6 +503,7 @@ void ec_fsm_master_action_configure(
|
||||||
// Does the slave have to be configured?
|
// Does the slave have to be configured?
|
||||||
if ((slave->current_state != slave->requested_state
|
if ((slave->current_state != slave->requested_state
|
||||||
|| slave->force_config) && !slave->error_flag) {
|
|| slave->force_config) && !slave->error_flag) {
|
||||||
|
|
||||||
// Start slave configuration, if it is allowed.
|
// Start slave configuration, if it is allowed.
|
||||||
down(&master->config_sem);
|
down(&master->config_sem);
|
||||||
if (!master->allow_config) {
|
if (!master->allow_config) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue