From 111d10cfa7e133d9f95593ed10f3d1dcc5150176 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 6 May 2026 15:57:26 +0200 Subject: [PATCH] formatting --- .../ctbDetectorServer/slsDetectorFunctionList.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slsDetectorServers/ctbDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/ctbDetectorServer/slsDetectorFunctionList.c index 4f8ec83ae..895cbed2c 100644 --- a/slsDetectorServers/ctbDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/ctbDetectorServer/slsDetectorFunctionList.c @@ -1882,8 +1882,10 @@ int getPowerADC(enum powerIndex index, int *retval, char *mess) { #ifdef VIRTUAL return 0; #endif - // read register containing the measurement (16-bit signed), sign extend to int - *retval = (int)(int16_t)bus_r(POWER_MONITOR_BASE_REG + ((int)adcIndex << MEM_MAP_SHIFT)); + // read register containing the measurement (16-bit signed), sign extend to + // int + *retval = (int)(int16_t)bus_r(POWER_MONITOR_BASE_REG + + ((int)adcIndex << MEM_MAP_SHIFT)); return OK; }