mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 17:04:55 +01:00
Merge branch 'developer' into mysocket
This commit is contained in:
@@ -1437,7 +1437,7 @@ int slsDetector::configureMAC() {
|
||||
// 2d positions to detector to put into udp header
|
||||
{
|
||||
int pos[2] = {0, 0};
|
||||
int max = shm()->multiSize[1] * (shm()->numUDPInterfaces);
|
||||
int max = shm()->multiSize[Y] * (shm()->numUDPInterfaces);
|
||||
// row
|
||||
pos[0] = (detId % max);
|
||||
// col for horiz. udp ports
|
||||
|
||||
Reference in New Issue
Block a user