From fbb895e85f2d8399c396a2988e8b3e5d451604a7 Mon Sep 17 00:00:00 2001 From: Jakub Wlodek Date: Fri, 20 Dec 2024 11:40:09 -0500 Subject: [PATCH] Update src/ophyd_async/epics/adcore/_core_detector.py Co-authored-by: Tom C (DLS) <101418278+coretl@users.noreply.github.com> --- src/ophyd_async/epics/adcore/_core_detector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ophyd_async/epics/adcore/_core_detector.py b/src/ophyd_async/epics/adcore/_core_detector.py index 59be7a2caa..e4c31abb9c 100644 --- a/src/ophyd_async/epics/adcore/_core_detector.py +++ b/src/ophyd_async/epics/adcore/_core_detector.py @@ -10,14 +10,13 @@ class AreaDetector(StandardDetector[ADBaseControllerT, ADWriter]): def __init__( self, - driver: ADBaseIO, controller: ADBaseControllerT, writer: ADWriter, plugins: dict[str, NDPluginBaseIO] | None = None, config_sigs: Sequence[SignalR] = (), name: str = "", ): - self.drv = driver + self.driver = controller.driver self.fileio = writer.fileio if plugins is not None: