jungfrau server adcphase not responding to a get properly

This commit is contained in:
maliakal_d 2018-03-08 15:17:14 +01:00
parent 7649865a8f
commit 3878212ffd
3 changed files with 1 additions and 1 deletions

View File

@ -2988,7 +2988,7 @@ int set_speed(int file_des) {
#ifdef JUNGFRAUD
case ADC_PHASE:
retval = adcPhase(val);
if ((retval!=val) && (val>=0)) {
if ((val != 65536) && (retval!=val) && (val>=0)) {
ret=FAIL;
sprintf(mess,"could not change set adc phase: should be %d but is %d \n", val, retval);
cprintf(RED, "Warning: %s", mess);