Bug on DCF edition fixed
authorlbessard
Mon, 10 Dec 2007 16:46:11 +0100
changeset 337 9aab477d8a8a
parent 336 42ab55532da8
child 338 9ba9f4f7d080
Bug on DCF edition fixed
objdictgen/nodelist.py
--- a/objdictgen/nodelist.py	Mon Dec 10 16:25:18 2007 +0100
+++ b/objdictgen/nodelist.py	Mon Dec 10 16:46:11 2007 +0100
@@ -316,7 +316,7 @@
     def AddToMasterDCF(self, node_id, index, subindex, size, value):
         # Adding DCF entry into Master node
         if not self.Manager.IsCurrentEntry(0x1F22):
-            self.Manager.AddCurrentEntry(0x1F22, 1, "")
+            self.Manager.ManageEntriesOfCurrent([0x1F22], [])
         self.Manager.AddSubentriesToCurrent(0x1F22, 127)
 
         self.Manager.AddToDCF(node_id, index, subindex, size, value)