jungfrau fix: wait for acquisition to be done before sending stop receiver

This commit is contained in:
2020-01-23 16:41:09 +01:00
parent ffc09ed19c
commit abe63acc79
3 changed files with 2 additions and 2 deletions

View File

@ -1788,11 +1788,11 @@ enum runStatus getRunStatus(){
void readFrame(int *ret, char *mess){
#ifdef VIRTUAL
// wait for status to be done
while(runBusy()){
usleep(500);
}
#ifdef VIRTUAL
FILE_LOG(logINFOGREEN, ("acquisition successfully finished\n"));
return;
#endif