This commit is contained in:
maliakal_d 2021-06-28 17:57:10 +02:00
parent 8c1a813214
commit a20c2cdfb5

View File

@ -2536,7 +2536,9 @@ void readFrame(int *ret, char *mess) {
int isTransmitting = 1;
while (isTransmitting) {
// wait for feb processing to be done
sharedMemory_lockLocalLink();
int i = Feb_Control_ProcessingInProgress();
sharedMemory_unlockLocalLink();
if (i == STATUS_ERROR) {
strcpy(mess, "Could not read feb processing done register\n");
*ret = (int)FAIL;