mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-14 03:40:49 +02:00
update receiver parameters function
This commit is contained in:
@@ -269,7 +269,8 @@ void Implementation::setModulePositionId(const int id) {
|
||||
xy portGeometry = GetPortGeometry();
|
||||
streamingPort = DEFAULT_ZMQ_RX_PORTNO + modulePos * portGeometry.x;
|
||||
|
||||
assert(numModules.y != 0);
|
||||
assert(numModules.y !=
|
||||
0); // TODO why an assert here? should we throw an exception instead?
|
||||
for (unsigned int i = 0; i < listener.size(); ++i) {
|
||||
uint16_t row = 0, col = 0;
|
||||
row = (modulePos % numModules.y) * portGeometry.y;
|
||||
|
||||
Reference in New Issue
Block a user