update receiver parameters function

This commit is contained in:
2026-05-29 15:56:20 +02:00
parent cb0477d456
commit 349425adb6
6 changed files with 41 additions and 8 deletions
+2 -1
View File
@@ -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;