mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
wip
This commit is contained in:
parent
cf5d2cd97e
commit
81aa8c9ac5
@ -1061,6 +1061,13 @@ int Feb_Control_SoftwareTrigger() {
|
||||
("Software trigger failed. No exposure detected in 20ms.\n"));
|
||||
return 0;
|
||||
}
|
||||
|
||||
// wait for toggle for exposure to be done
|
||||
while (toggle == prev_toggle) {
|
||||
usleep(5000);
|
||||
toggle = ((value & FEB_REG_STATUS_EXP_TGL_MSK) >>
|
||||
FEB_REG_STATUS_EXP_TGL_OFST);
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user