mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 04:40:02 +02:00
client bug fix: was configuring mac even for a get of tengiga enable
This commit is contained in:
parent
322970ebed
commit
8ec0ac4eb3
@ -3199,7 +3199,9 @@ int slsDetector::enableTenGigabitEthernet(int value) {
|
||||
sendToDetector(F_ENABLE_TEN_GIGA, value, retval);
|
||||
FILE_LOG(logDEBUG1) << "10Gbe: " << retval;
|
||||
shm()->tenGigaEnable = retval;
|
||||
configureMAC();
|
||||
if (value >= 0) {
|
||||
configureMAC();
|
||||
}
|
||||
if (shm()->useReceiverFlag) {
|
||||
retval = -1;
|
||||
value = shm()->tenGigaEnable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user