This commit is contained in:
maliakal_d 2021-06-25 17:13:40 +02:00
parent 1b525abfa1
commit 8b22b5dbe7
3 changed files with 1 additions and 3 deletions

View File

@ -1045,7 +1045,6 @@ int Feb_Control_SendSoftwareTrigger() {
int Feb_Control_SoftwareTrigger(int block) {
if (Feb_Control_activated) {
LOG(logINFORED, ("block:%d\n", block));
// cant read reg
int readyForTrigger = 0;
if (!Feb_Control_IsReadyForTrigger(&readyForTrigger)) {

View File

@ -726,7 +726,7 @@ void Detector::setNextFrameNumber(uint64_t value, Positions pos) {
}
void Detector::sendSoftwareTrigger(const bool block, Positions pos) {
pimpl->Parallel(&Module::sendSoftwareTrigger, pos, false);
pimpl->Parallel(&Module::sendSoftwareTrigger, pos, block);
}
Result<defs::scanParameters> Detector::getScan(Positions pos) const {

View File

@ -777,7 +777,6 @@ void Module::setNextFrameNumber(uint64_t value) {
}
void Module::sendSoftwareTrigger(const bool block) {
LOG(logINFO) << "block:" << block;
sendToDetectorStop(F_SOFTWARE_TRIGGER, static_cast<int>(block), nullptr);
}