changeset 2381 | 1c40e3976cc2 |
parent 2379 | 015b724c30a5 |
child 2397 | 25f16349644b |
--- a/etherlab/EthercatCFileGenerator.py Sat Sep 29 15:03:17 2018 +0300 +++ b/etherlab/EthercatCFileGenerator.py Sat Sep 29 15:16:21 2018 +0300 @@ -357,7 +357,8 @@ if exclusion_scope[0]["matching"] > 0: selected_pdos.append(exclusion_scope[0]["index"]) start_excluding_index = 1 - excluded_pdos.extend([pdo["index"] + excluded_pdos.extend([ + pdo["index"] for pdo in exclusion_scope[start_excluding_index:] if PdoAssign or not pdo["assigned"]])