mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
datastream enabled allowed for 1g mode
This commit is contained in:
parent
f49e45ca6c
commit
8f30394f63
@ -8312,7 +8312,7 @@ int set_datastream(int file_des) {
|
||||
ret = FAIL;
|
||||
sprintf(mess, "Could not %s. Invalid enable %d. \n", msg, enable);
|
||||
LOG(logERROR, (mess));
|
||||
} else if (enableTenGigabitEthernet(GET_FLAG) == 0) {
|
||||
} else if (enableTenGigabitEthernet(GET_FLAG) == 0 && enable == 0) {
|
||||
ret = FAIL;
|
||||
sprintf(mess,
|
||||
"Could not %s. Disabling is only enabled in 10g mode.\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user