Commit 271b30eb authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes bug related to MUX_CONFIG in hardware_system

Showing with 3 additions and 1 deletion
+3 -1
...@@ -25,7 +25,9 @@ current_max = np.min([TX_CONFIG['current_max'], np.min([MUX_CONFIG[i].pop('curre ...@@ -25,7 +25,9 @@ current_max = np.min([TX_CONFIG['current_max'], np.min([MUX_CONFIG[i].pop('curre
voltage_max = np.min([TX_CONFIG['voltage_max'], np.min([MUX_CONFIG[i].pop('voltage_max', np.inf) for i in mux_boards])]) voltage_max = np.min([TX_CONFIG['voltage_max'], np.min([MUX_CONFIG[i].pop('voltage_max', np.inf) for i in mux_boards])])
voltage_min = RX_CONFIG['voltage_min'] voltage_min = RX_CONFIG['voltage_min']
default_mux_cabling = MUX_CONFIG.pop('default_mux_cabling', None) default_mux_cabling = {}
for mux in mux_boards:
update_dict(default_mux_cabling, MUX_CONFIG[mux].pop('default_mux_cabling', {}))
def elapsed_seconds(start_time): def elapsed_seconds(start_time):
lap = datetime.datetime.utcnow() - start_time lap = datetime.datetime.utcnow() - start_time
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment