ctb client and server bug fix: dac didnt compute indices correctly and set dac was not printing in server

This commit is contained in:
2019-06-04 18:11:31 +02:00
parent 3aea917175
commit a6144f658e
4 changed files with 14 additions and 13 deletions

View File

@ -302,9 +302,7 @@ int LTC2620_SetDACValue (int dacnum, int val, int mV, int* dacval) {
// set
if ( (*dacval >= 0) || (*dacval == LTC2620_PWR_DOWN_VAL)) {
#ifndef CHIPTESTBOARDD
FILE_LOG(logINFO, ("Setting DAC %d: %d dac (%d mV)\n",dacnum, *dacval, dacmV));
#endif
LTC2620_SetDAC(dacnum, *dacval);
}
return OK;