diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index d881defc2..ad347c810 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -2341,13 +2341,9 @@ int getFixCurrentSource() { int getNormalCurrentSource() { if (getChipVersion() == 11) { - // TODO FIRMWARE FIX TOGGLING - int regval = bus_r(CONFIG_V11_STATUS_REG); -#ifndef VIRTUAL - regval ^= BIT32_MASK; -#endif - int low = ((regval & CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >> - CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST); + int regval = ((bus_r(CONFIG_V11_STATUS_REG) & + CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >> + CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST); return (low == 0 ? 1 : 0); } return -1;