Minor: Ordered master member initialisations.

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

View File

@ -147,6 +147,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;
@ -172,8 +173,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;