From 6dc4634495b229619c4db25871d516882580a3b4 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 21 Oct 2021 14:55:58 +0200 Subject: [PATCH] typo --- .../jungfrauDetectorServer/slsDetectorFunctionList.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index ad347c810..4591abc2d 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -2341,9 +2341,9 @@ int getFixCurrentSource() { int getNormalCurrentSource() { if (getChipVersion() == 11) { - int regval = ((bus_r(CONFIG_V11_STATUS_REG) & - CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >> - CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST); + int low = ((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;