From 64c8b08ce40ac9a76546a24515e82afa621dbd17 Mon Sep 17 00:00:00 2001 From: koennecke Date: Fri, 7 Jun 2024 13:36:34 +0200 Subject: [PATCH] Fixed an initialisation bug in EL734Driver which prevented motors from being polled. The value in question was next_poll which is now set to -1 in the constructor. --- sinqEPICSApp/src/EL734Driver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sinqEPICSApp/src/EL734Driver.cpp b/sinqEPICSApp/src/EL734Driver.cpp index 73cb3bd..5ae856e 100644 --- a/sinqEPICSApp/src/EL734Driver.cpp +++ b/sinqEPICSApp/src/EL734Driver.cpp @@ -240,6 +240,7 @@ EL734Axis::EL734Axis(EL734Controller *pC, int axisNo) asynPrint(pC_->pasynUserSelf, ASYN_TRACE_ERROR, "Failed to read limits at axis %d", axisNo_); } + next_poll = -1; }