We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4e6d0 commit 1b12c97Copy full SHA for 1b12c97
canopen/objectdictionary/eds.py
@@ -33,7 +33,7 @@ def import_eds(source, node_id):
33
od = objectdictionary.ObjectDictionary()
34
if eds.has_section("DeviceComissioning"):
35
od.bitrate = int(eds.get("DeviceComissioning", "Baudrate")) * 1000
36
- od.node_id = int(eds.get("DeviceComissioning", "NodeID"))
+ od.node_id = int(eds.get("DeviceComissioning", "NodeID"), 0)
37
38
for section in eds.sections():
39
# Match dummy definitions
0 commit comments