Minor: Ordered master member initialisations.

This commit is contained in:
Florian Pose 2011-12-09 10:46:25 +01:00
parent 953e723f31
commit 1f428c78bf
1 changed files with 1 additions and 2 deletions

View File

@ -158,6 +158,7 @@ int ec_master_init(ec_master_t *master, /**< EtherCAT master */
master->slave_count = 0;
INIT_LIST_HEAD(&master->configs);
INIT_LIST_HEAD(&master->domains);
master->app_time = 0ULL;
master->app_start_time = 0ULL;
@ -183,8 +184,6 @@ int ec_master_init(ec_master_t *master, /**< EtherCAT master */
// send interval in IDLE phase
ec_master_set_send_interval(master, 1000000 / HZ);
INIT_LIST_HEAD(&master->domains);
master->debug_level = debug_level;
master->stats.timeouts = 0;
master->stats.corrupted = 0;