This commit is contained in:
maliakal_d 2021-06-28 17:32:11 +02:00
parent ca02d4b007
commit 04a0a475ad

View File

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