mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 09:35:22 +01:00
eiger virtual server fix
This commit is contained in:
@@ -227,9 +227,7 @@ u_int64_t getFirmwareAPIVersion() {
|
||||
}
|
||||
|
||||
void readDetectorNumber() {
|
||||
#ifdef VIRTUAL
|
||||
return;
|
||||
#endif
|
||||
#ifndef VIRTUAL
|
||||
char output[255];
|
||||
FILE *sysFile = popen(IDFILECOMMAND, "r");
|
||||
fgets(output, sizeof(output), sysFile);
|
||||
@@ -238,6 +236,7 @@ void readDetectorNumber() {
|
||||
if (isControlServer) {
|
||||
LOG(logINFOBLUE, ("Detector ID: %u\n", detid));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
u_int32_t getDetectorNumber() {
|
||||
|
||||
Reference in New Issue
Block a user