ctb fix
All checks were successful
Build on RHEL9 / build (push) Successful in 3m15s
Build on RHEL8 / build (push) Successful in 5m6s

This commit is contained in:
2026-01-16 16:30:42 +01:00
parent 232ca92aba
commit 677a31c6de
2 changed files with 3 additions and 1 deletions

View File

@@ -1238,7 +1238,9 @@ void setDAC(enum DACINDEX ind, int val, int mV) {
// convert to dac units
else if (LTC2620_VoltageToDac(val, &dacval) == OK) {
dacValues[ind] = dacval;
} else if (LTC2620_SetDACValue((int)ind, val, mV, &dacval) == OK)
}
#else
if (LTC2620_SetDACValue((int)ind, val, mV, &dacval) == OK)
dacValues[ind] = dacval;
#endif
}