From dee782e1ccf7d6fe3edd36a650f529e82bcb52c9 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 6 Jul 2026 13:16:47 +0200 Subject: [PATCH] minor documentation fix and sending nports unnecessarily for getRxUDPPortDisableMetadata --- slsDetectorSoftware/include/sls/Detector.h | 2 +- slsDetectorSoftware/src/Module.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/slsDetectorSoftware/include/sls/Detector.h b/slsDetectorSoftware/include/sls/Detector.h index 969320cf3..d72562ead 100644 --- a/slsDetectorSoftware/include/sls/Detector.h +++ b/slsDetectorSoftware/include/sls/Detector.h @@ -920,7 +920,7 @@ class Detector { */ std::vector getRxDisabledUDPPortIndices() const; - /* list of possible port positions. + /** list of possible port positions. * [Eiger] TOP, BOTTOM * [Jungfrau][Moench] LEFT, RIGHT */ diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 2a89b8961..898d046c5 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -1471,7 +1471,6 @@ std::vector Module::getRxUDPPortDisableMetadata() const { } auto nports = client.Receive(); std::vector retval(nports); - client.Send(nports); if (nports > 0) { client.Receive(retval); }