This commit is contained in:
maliakal_d 2021-06-25 16:54:01 +02:00
parent bbb2473387
commit bdfd151a01

View File

@ -1045,7 +1045,6 @@ int Feb_Control_SendSoftwareTrigger() {
int Feb_Control_SoftwareTrigger(int block) {
if (Feb_Control_activated) {
/*
// cant read reg
int readyForTrigger = 0;
if (!Feb_Control_IsReadyForTrigger(&readyForTrigger)) {
@ -1057,10 +1056,10 @@ int Feb_Control_SoftwareTrigger(int block) {
LOG(logWARNING, ("Not yet ready for trigger!\n"));
return 0;
}
*/
// send trigger to both fpgas
Feb_Control_SendSoftwareTrigger();
/*
// wait for next trigger ready
if (block) {
int readyForTrigger = 0;
@ -1079,7 +1078,6 @@ int Feb_Control_SoftwareTrigger(int block) {
}
LOG(logINFO, ("Ready for trigger!\n"));
}
*/
}
return 1;