mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-09 01:39:31 +02:00
minor documentation fix and sending nports unnecessarily for getRxUDPPortDisableMetadata
This commit is contained in:
@@ -920,7 +920,7 @@ class Detector {
|
||||
*/
|
||||
std::vector<int> getRxDisabledUDPPortIndices() const;
|
||||
|
||||
/* list of possible port positions.
|
||||
/** list of possible port positions.
|
||||
* [Eiger] TOP, BOTTOM
|
||||
* [Jungfrau][Moench] LEFT, RIGHT
|
||||
*/
|
||||
|
||||
@@ -1471,7 +1471,6 @@ std::vector<int> Module::getRxUDPPortDisableMetadata() const {
|
||||
}
|
||||
auto nports = client.Receive<int>();
|
||||
std::vector<int> retval(nports);
|
||||
client.Send(nports);
|
||||
if (nports > 0) {
|
||||
client.Receive(retval);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user