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

This commit is contained in:
2026-05-06 15:57:26 +02:00
parent 0837de2a5a
commit 111d10cfa7
@@ -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;
}