beremiz

274a343d49d0
Parents 7de69369373e
Children ae06c2da83f7
Bug on Master config generation fixed
--- a/plugins/canfestival/config_utils.py Mon Dec 10 11:04:52 2007 +0100
+++ b/plugins/canfestival/config_utils.py Mon Dec 10 15:53:55 2007 +0100
@@ -414,7 +414,8 @@
values = node.GetEntry(index)
# Store the size of each entry mapped in PDO
for value in values[1:]:
- mapping.append(value % 0x100)
+ if value != 0:
+ mapping.append(value % 0x100)
self.MasterMapping[cobid] = {"type" : InvertPDOType[locationinfos["pdotype"]], "mapping" : mapping}
# Indicate that this PDO entry must be saved