use wants_repeat

This commit is contained in:
2022-03-17 12:04:59 +01:00
committed by NichtJens
parent 03f94b3cfb
commit 2fcb4ff2e1
+1 -4
View File
@@ -137,11 +137,8 @@ class ScanBackend:
def do_checked_step(self, *args, **kwargs):
while True:
self.condition.get_ready()
while self.condition.wants_repeat():
self.do_step(*args, **kwargs)
if self.condition.is_happy():
break
def do_step(self, n_step, step_values, step_info=None):