Dev/server/separate list header (#1373)
All checks were successful
Build on local RHEL9 / build (push) Successful in 1m25s
Build on RHEL9 / build (push) Successful in 3m14s
Build on local RHEL8 / build (push) Successful in 3m33s
Build on RHEL8 / build (push) Successful in 5m0s

* xilinx, ctb and eiger server: detangled list.h to its own detector file

* detangled list.h from all the detectors servers
This commit is contained in:
2026-01-28 13:49:46 +01:00
committed by GitHub
parent 3deb528087
commit 55ff222437
17 changed files with 1439 additions and 744 deletions

View File

@@ -4,6 +4,7 @@
#include "Beb.h"
#include "FebRegisterDefs.h"
#include "clogger.h"
#include "common.h"
#include "sharedMemory.h"
#include "slsDetectorServer_defs.h"
@@ -403,12 +404,13 @@ int Feb_Control_ReceiveHighVoltage(unsigned int *value) {
// normal
if (Feb_Control_normal) {
int retval = 0;
if (readParameterFromFile(NORMAL_HIGHVOLTAGE_INPUTPORT, "high voltage",
value) == FAIL) {
&retval) == FAIL) {
LOG(logERROR, ("Could not get high voltage\n"));
return 0;
}
*value /= 10;
*value = retval / 10;
LOG(logINFO, ("High Voltage: %d\n", (*value)));
}