binaries and fix

This commit is contained in:
2020-07-02 17:15:24 +02:00
parent 0dc062e6d3
commit 7c48ef8931
9 changed files with 9 additions and 2 deletions

View File

@ -1913,7 +1913,14 @@ int set_num_frames(int file_des) {
// only set
if (Server_VerifyLock() == OK) {
// only set number of frames if normal mode (not scan)
if (!scan) {
if (scan) {
if (arg != numScanSteps) {
ret = FAIL;
sprintf(mess,
"Could not set number of frames %lld. In scan mode, it is number of steps %d\n", (long long unsigned int)arg, numScanSteps);
LOG(logERROR, (mess));
}
} else {
#ifdef GOTTHARD2D
// validate #frames in burst mode
if (getBurstMode() != BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {