From 980bb1da4c7c0b8f42e04b5dea5a0a3532115c55 Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Thu, 12 Jun 2008 07:47:26 +0000 Subject: [PATCH] Removed deprecated default_config flag. --- master/pdo.c | 2 -- master/pdo.h | 2 -- master/slave_config.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/master/pdo.c b/master/pdo.c index 9271f593..28976747 100644 --- a/master/pdo.c +++ b/master/pdo.c @@ -53,7 +53,6 @@ void ec_pdo_init( pdo->sync_index = -1; // not assigned pdo->name = NULL; INIT_LIST_HEAD(&pdo->entries); - pdo->default_config = 0; } /*****************************************************************************/ @@ -67,7 +66,6 @@ int ec_pdo_init_copy(ec_pdo_t *pdo, const ec_pdo_t *other_pdo) 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 --git a/master/pdo.h b/master/pdo.h index 3c7ecd2d..ffb462c9 100644 --- a/master/pdo.h +++ b/master/pdo.h @@ -59,8 +59,6 @@ typedef struct { 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 --git a/master/slave_config.c b/master/slave_config.c index 60aa7eff..700bd15c 100644 --- a/master/slave_config.c +++ b/master/slave_config.c @@ -258,8 +258,6 @@ void ec_slave_config_load_default_mapping( 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); -- GitLab