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; }