# HG changeset patch # User Florian Pose # Date 1213256846 0 # Node ID 1c7033e7c1b9f264fc3e54cfe7785f62fc64a940 # Parent 54149a703c475ad3f7bd5d5e9cbed538e82709c4 Removed deprecated default_config flag. diff -r 54149a703c47 -r 1c7033e7c1b9 master/pdo.c --- a/master/pdo.c Thu Jun 12 07:45:27 2008 +0000 +++ b/master/pdo.c Thu Jun 12 07:47:26 2008 +0000 @@ -53,7 +53,6 @@ pdo->sync_index = -1; // not assigned pdo->name = NULL; INIT_LIST_HEAD(&pdo->entries); - pdo->default_config = 0; } /*****************************************************************************/ @@ -67,7 +66,6 @@ pdo->sync_index = other_pdo->sync_index; pdo->name = NULL; INIT_LIST_HEAD(&pdo->entries); - pdo->default_config = other_pdo->default_config; if (ec_pdo_set_name(pdo, other_pdo->name)) goto out_return; diff -r 54149a703c47 -r 1c7033e7c1b9 master/pdo.h --- a/master/pdo.h Thu Jun 12 07:45:27 2008 +0000 +++ b/master/pdo.h Thu Jun 12 07:47:26 2008 +0000 @@ -59,8 +59,6 @@ int8_t sync_index; /**< Assigned sync manager. */ char *name; /**< Pdo name. */ struct list_head entries; /**< List of Pdo entries. */ - unsigned int default_config; /**< The entries contain the default Pdo - configuration. */ } ec_pdo_t; /*****************************************************************************/ diff -r 54149a703c47 -r 1c7033e7c1b9 master/slave_config.c --- a/master/slave_config.c Thu Jun 12 07:45:27 2008 +0000 +++ b/master/slave_config.c Thu Jun 12 07:47:26 2008 +0000 @@ -258,8 +258,6 @@ EC_DBG("Loading default configuration for Pdo 0x%04X in" " config %u:%u.\n", pdo->index, sc->alias, sc->position); - pdo->default_config = 1; - if (!sc->slave) { EC_WARN("Failed to load default Pdo configuration for %u:%u:" " Slave not found.\n", sc->alias, sc->position);