From ec4aca0dd4e6455b8011bb90450b138d13f31551 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 21 Oct 2021 16:25:05 +0200 Subject: [PATCH] minor --- .../jungfrauDetectorServer/slsDetectorFunctionList.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index 8910ff61e..9728c00ec 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -2175,10 +2175,6 @@ int getFilterResistor() { uint32_t addr = CONFIG_V11_REG; #else uint32_t addr = CONFIG_V11_STATUS_REG; -#endif - uint32_t regval = bus_r(addr); -#ifndef VIRTUAL - regval ^= BIT32_MASK; #endif // return 0 for lower value, 1 for higher value if (bus_r(addr) & CONFIG_V11_STATUS_FLTR_RSSTR_SMLR_MSK) {