mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
Merge branch 'developer' into setrxhostname
This commit is contained in:
@ -3252,6 +3252,10 @@ bool Module::enableTenGigabitEthernet(int value) {
|
|||||||
int retval = -1;
|
int retval = -1;
|
||||||
LOG(logDEBUG1) << "Enabling / Disabling 10Gbe: " << value;
|
LOG(logDEBUG1) << "Enabling / Disabling 10Gbe: " << value;
|
||||||
sendToDetector(F_ENABLE_TEN_GIGA, value, retval);
|
sendToDetector(F_ENABLE_TEN_GIGA, value, retval);
|
||||||
|
if (value != -1) {
|
||||||
|
int stopRetval = -1;
|
||||||
|
sendToDetectorStop(F_ENABLE_TEN_GIGA, value, stopRetval);
|
||||||
|
}
|
||||||
LOG(logDEBUG1) << "10Gbe: " << retval;
|
LOG(logDEBUG1) << "10Gbe: " << retval;
|
||||||
value = retval;
|
value = retval;
|
||||||
if (shm()->useReceiverFlag && value != -1) {
|
if (shm()->useReceiverFlag && value != -1) {
|
||||||
|
Reference in New Issue
Block a user