diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index 52fc32058..c7065e02d 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -300,7 +300,7 @@ int isHardwareVersion2() { int getChipVersion() { // chip v1.1 - if (bus_r(DAQ_REG | DAQ_CHIP11_VRSN_MSK)) { + if (bus_r(DAQ_REG) & DAQ_CHIP11_VRSN_MSK) { return 11; } // chip v1.0