mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 10:00:40 +02:00
Revert "gotthard2: burst mode check"
This reverts commit 4d6996bd556ea9788bb98b19fbe6537e0a41e16c.
This commit is contained in:
parent
4d6996bd55
commit
dfb1b9ad69
Binary file not shown.
@ -1967,7 +1967,7 @@ int set_num_frames(int file_des) {
|
||||
if (Server_VerifyLock() == OK) {
|
||||
#ifdef GOTTHARD2D
|
||||
// validate #frames in burst mode
|
||||
if (getBurstMode() == BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {
|
||||
if (getBurstMode() != BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {
|
||||
ret = FAIL;
|
||||
sprintf(mess, "Could not set number of frames %lld. Must be <= %d in burst mode.\n", (long long unsigned int)arg, MAX_FRAMES_IN_BURST_MODE);
|
||||
FILE_LOG(logERROR,(mess));
|
||||
|
Loading…
x
Reference in New Issue
Block a user