jungfrau server: allow check version in update mode

This commit is contained in:
2018-08-16 15:09:29 +02:00
parent 830f92dedc
commit 2a28333a96
4 changed files with 8 additions and 8 deletions

View File

@ -113,7 +113,7 @@ int decode_function(int file_des) {
#ifdef JUNGFRAUD
if ((debugflag == PROGRAMMING_MODE) &&
((fnum != F_PROGRAM_FPGA) && (fnum != F_GET_DETECTOR_TYPE) &&
(fnum != F_RESET_FPGA) && (fnum != F_UPDATE_CLIENT))) {
(fnum != F_RESET_FPGA) && (fnum != F_UPDATE_CLIENT) && (fnum != F_CHECK_VERSION))) {
sprintf(mess,"This Function %s cannot be executed. ", getFunctionName((enum detFuncs)fnum));
ret=(M_nofuncMode)(file_des);
} else