beremiz

Parents 1565239349a8
Children 6963460bfe0f
Fixed bug in support for module extra params in EthercatCFileGenerator
--- 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"]