fix st-ten-6
This commit is contained in:
parent
bda17a5452
commit
226b7d1398
|
|
@ -455,6 +455,7 @@ class Test(Widget):
|
|||
leak1_index = step_types.index("leak_1")
|
||||
leak2_index = step_types.index("leak_2")
|
||||
if leak1_index + 1 == leak2_index: # Ensure 'leak_1' is immediately followed by 'leak_2'
|
||||
if self.config["hardware_config"].get("second_leak_test", "yes") == "no":
|
||||
steps.insert(leak2_index, Step(step_type="instruction_extra", spec={}))
|
||||
inserted_instruction = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user