# HG changeset patch # User Florian Pose # Date 1173085802 0 # Node ID 611d738a13921c7658dcec2ee3f99767914bc41f # Parent 029d70ceaaf1b3791811381d48d2da2ac810e84b Moved state request on PDO registration to slave.c. diff -r 029d70ceaaf1 -r 611d738a1392 master/domain.c --- a/master/domain.c Sun Mar 04 16:15:23 2007 +0000 +++ b/master/domain.c Mon Mar 05 09:10:02 2007 +0000 @@ -251,8 +251,6 @@ list_add_tail(&data_reg->list, &domain->data_regs); - ec_slave_request_state(slave, EC_SLAVE_STATE_OP); - return 0; } @@ -329,8 +327,6 @@ list_add_tail(&data_reg->list, &domain->data_regs); - ec_slave_request_state(slave, EC_SLAVE_STATE_OP); - return 0; } diff -r 029d70ceaaf1 -r 611d738a1392 master/slave.c --- a/master/slave.c Sun Mar 04 16:15:23 2007 +0000 +++ b/master/slave.c Mon Mar 05 09:10:02 2007 +0000 @@ -597,6 +597,8 @@ fmmu->logical_start_address = 0; slave->fmmu_count++; + + ec_slave_request_state(slave, EC_SLAVE_STATE_OP); return 0; }