# HG changeset patch # User Laurent Bessard # Date 1367226452 -7200 # Node ID 56643934495cb3cdcf96fc4b20e9a2a9ed1bf1b9 # Parent 1565239349a8c6f7fe25e2ead034516e7447d34a Fixed bug in support for module extra params in EthercatCFileGenerator diff -r 1565239349a8 -r 56643934495c etherlab/EthercatCFileGenerator.py --- a/etherlab/EthercatCFileGenerator.py Mon Apr 29 11:03:06 2013 +0200 +++ b/etherlab/EthercatCFileGenerator.py Mon Apr 29 11:07:32 2013 +0200 @@ -322,7 +322,7 @@ if slave_variables.get((index, subindex), None) is not None: pdo_mapping_match["matching"] += 1 - if pdo.getFixed() == True: + if pdo.getFixed() != True: pdo_mapping_match["matching"] += \ module_extra_params["max_pdo_size"] - \ pdo_mapping_match["count"]