jungfrau server: chip configuration only for chip v 1.1

This commit is contained in:
2021-07-27 18:16:30 +02:00
parent 8cc9cd1c75
commit 7535ea315b
6 changed files with 14 additions and 9 deletions

View File

@ -1695,7 +1695,8 @@ int acquire(int blocking, int file_des) {
// only set
if (Server_VerifyLock() == OK) {
#ifdef JUNGFRAUD
if (!isChipConfigured()) {
// chipv1.1 has to be configured before acquisition
if (getChipVersion() == 11 && !isChipConfigured()) {
ret = FAIL;
strcpy(mess,
"Could not start acquisition. Chip is not configured.\n");