mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
eiger virtual server fix
This commit is contained in:
parent
9a1fdc4104
commit
d8ca9bb6b5
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user