Added bug in support for set flag for optional variables activation in axis public struct
--- a/etherlab/EthercatCIA402Slave.py Mon Jun 24 23:53:57 2013 +0200
+++ b/etherlab/EthercatCIA402Slave.py Tue Jun 25 00:55:38 2013 +0200
@@ -250,7 +250,7 @@
# Param is optional variables section enable flag
extra_node_variable_infos = EXTRA_NODE_VARIABLES_DICT.get(param_name)
if extra_node_variable_infos is not None:
- param_name += "Enabled"
+ param_name = param_name.replace("Enable", "") + "Enabled"
if not param["value"]:
continue