ctb server: vlimit not impl, adc in degrees

This commit is contained in:
2019-02-14 18:28:32 +01:00
parent 501c579f6b
commit 4a8a72c447
4 changed files with 15 additions and 8 deletions

View File

@ -4063,7 +4063,7 @@ std::string slsDetectorCommand::cmdADC(int narg, char *args[], int action, int d
else sprintf(answer,"%d",myDet->getADC(adc, detPos));
//if ((adc == TEMPERATURE_ADC) || (adc == TEMPERATURE_FPGA))
if (adc<=100 || adc == SLOW_ADC_TEMP)
if (adc < 100 || adc == SLOW_ADC_TEMP)
strcat(answer,"°C");
else
strcat(answer,"mV");