mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-07 20:28:40 +01:00
Dev/server/separate list header (#1373)
* 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:
@@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user