This commit is contained in:
maliakal_d 2021-06-28 17:12:57 +02:00
parent a7d46b701a
commit 4b05ecd80b

View File

@ -2388,8 +2388,7 @@ int stopStateMachine() {
return OK; return OK;
#else #else
sharedMemory_lockLocalLink(); sharedMemory_lockLocalLink();
if ((Feb_Control_StopAcquisition() != STATUS_IDLE) || if ((Feb_Control_StopAcquisition() != STATUS_IDLE)) {
(!Beb_StopAcquisition())) {
LOG(logERROR, ("failed to stop acquisition\n")); LOG(logERROR, ("failed to stop acquisition\n"));
sharedMemory_unlockLocalLink(); sharedMemory_unlockLocalLink();
return FAIL; return FAIL;