mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-08-11 19:10:29 +02:00
formatting
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m38s
Build on RHEL8 docker image / build (push) Successful in 4m52s
Build and Deploy on local RHEL8 / build (push) Successful in 4m57s
Run Simulator Tests on local RHEL9 / build (push) Successful in 16m3s
Run Simulator Tests on local RHEL8 / build (push) Successful in 19m34s
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m38s
Build on RHEL8 docker image / build (push) Successful in 4m52s
Build and Deploy on local RHEL8 / build (push) Successful in 4m57s
Run Simulator Tests on local RHEL9 / build (push) Successful in 16m3s
Run Simulator Tests on local RHEL8 / build (push) Successful in 19m34s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user