Skip to content

Commit 4f60f54

Browse files
committed
Fix to interlock method calls
1 parent 87f7b8b commit 4f60f54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bs1200/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ def apply_config_file(self, cfg_file_path, restart: bool = True):
5656
config["Ethernet_Settings"]['TCP_Cmd_Interval_ms'],
5757
config["Ethernet_Settings"]['UDP_Read_Port'],
5858
config["Ethernet_Settings"]['UDP_Read_Interval_ms'])
59-
en_interlock = config["Enable_SafteyInterlock"]
59+
en_interlock = config["Enable_SafetyInterlock"]
6060
#print(mode)
6161
#print(can_cfg)
6262
#print(eth_cfg)
6363

6464
self.apply_general_settings(mode, False)
65+
self.enable_safety_interlock(en_interlock, False)
6566
self.apply_can_config(can_cfg, False)
6667
self.apply_ethernet_settings(eth_cfg, False)
67-
self.enable_safety_interlock(en_interlock, False)
6868
if restart:
6969
self.__restart_unit()
7070

0 commit comments

Comments
 (0)