File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def import_eds(source, node_id):
85
85
pass
86
86
87
87
if eds .has_section ("DeviceComissioning" ):
88
- od .bitrate = int (eds .get ("DeviceComissioning" , "Baudrate " )) * 1000
88
+ od .bitrate = int (eds .get ("DeviceComissioning" , "BaudRate " )) * 1000
89
89
od .node_id = int (eds .get ("DeviceComissioning" , "NodeID" ), 0 )
90
90
91
91
for section in eds .sections ():
@@ -413,7 +413,7 @@ def export_record(var, eds):
413
413
if device_commisioning and (od .bitrate or od .node_id ):
414
414
eds .add_section ("DeviceComissioning" )
415
415
if od .bitrate :
416
- eds .set ("DeviceComissioning" , "Baudrate " , int (od .bitrate / 1000 ))
416
+ eds .set ("DeviceComissioning" , "BaudRate " , int (od .bitrate / 1000 ))
417
417
if od .node_id :
418
418
eds .set ("DeviceComissioning" , "NodeID" , int (od .node_id ))
419
419
You can’t perform that action at this time.
0 commit comments