mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-15 20:15:36 +02:00
Merge branch 'developer' into dev/xilinx_power_cmd
This commit is contained in:
@@ -1831,6 +1831,13 @@ void DetectorImpl::setRxROI(const std::vector<defs::ROI> &args) {
|
||||
auto moduleGlobalRoi = getModuleROI(iModule);
|
||||
// at most 2 rois per module (for each port)
|
||||
std::vector<defs::ROI> portRois(nPortsPerModule);
|
||||
for (auto &roi : portRois) {
|
||||
roi.setNoRoi();
|
||||
if (shm()->numberOfChannels.y == 1) {
|
||||
roi.ymin = -1;
|
||||
roi.ymax = -1;
|
||||
}
|
||||
}
|
||||
|
||||
// check overlap with module
|
||||
for (const auto &arg : args) {
|
||||
|
||||
Reference in New Issue
Block a user