This commit is contained in:
2021-06-28 17:20:37 +02:00
parent 28fde55e4b
commit 5177ed74e5
2 changed files with 2 additions and 3 deletions

View File

@ -1060,7 +1060,7 @@ int Feb_Control_StopAcquisition() {
}
// stop acquisition
return Feb_Control_Reset();
// return Feb_Control_Reset();
}
return 1;
}

View File

@ -2408,8 +2408,6 @@ int stopStateMachine() {
}
LOG(logINFO, ("Detector has sent all data\n"));
Feb_Control_Reset();
if (!Beb_StopAcquisition()) {
LOG(logERROR, ("failed to stop acquisition\n"));
sharedMemory_unlockLocalLink();
@ -2418,6 +2416,7 @@ int stopStateMachine() {
sharedMemory_unlockLocalLink();
Feb_Control_Reset();
// ensure all have same starting frame numbers
uint64_t retval = 0;
if (Beb_GetNextFrameNumber(&retval, send_to_ten_gig) == -2) {