fix: Improve asyn_monitor and camera on_trigger and on_complete to return status

This commit is contained in:
2024-07-21 16:39:57 +02:00
parent 9eb67a0900
commit f3118765b0
3 changed files with 126 additions and 36 deletions

View File

@@ -400,8 +400,6 @@ class PSIDetectorBase(Device):
list(object): list of objects that were unstaged
"""
self.check_scan_id()
if self.stopped is True:
return super().unstage()
self.custom_prepare.on_unstage()
self.stopped = False
return super().unstage()