# HG changeset patch # User luis # Date 1214918463 -7200 # Node ID a204a86a71f1ee3e360b6985a1a4fa96165fb32c # Parent b919a24a45cb89666d538136a0e612d28de87262 Modified initial value of 1014h to 0x80 + nodeid when 1014 is not included explicitly in the OD. diff -r b919a24a45cb -r a204a86a71f1 objdictgen/gen_cfile.py --- a/objdictgen/gen_cfile.py Sat Jun 28 18:43:15 2008 +0200 +++ b/objdictgen/gen_cfile.py Tue Jul 01 15:21:03 2008 +0200 @@ -372,7 +372,7 @@ entry_infos = Node.GetEntryInfos(0x1014) texts["EntryName"] = entry_infos["name"] indexContents[0x1014] = """\n/* index 0x1014 : %(EntryName)s */ - UNS32 %(NodeName)s_obj1014 = 0x0; /* 0 */ + UNS32 %(NodeName)s_obj1014 = 0x80 + 0x%(NodeID)02X; /* 128 + NodeID */ """%texts if 0x1016 in communicationlist: