mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
changes from 4.2.0-rc: eiger check for max trimbits; end of eigerserver: if detector ip, set activate; update both control and stop server for activate
This commit is contained in:
@ -2983,9 +2983,9 @@ int set_all_trimbits(int file_des) {
|
||||
|
||||
// set
|
||||
if (arg >= 0 && Server_VerifyLock() == OK) {
|
||||
if (arg > 63) {
|
||||
if (arg > MAX_TRIMBITS_VALUE) {
|
||||
ret = FAIL;
|
||||
strcpy(mess, "Cannot set all trimbits. Range: 0 - 63\n");
|
||||
sprintf(mess, "Cannot set all trimbits. Range: 0 - %d\n", MAX_TRIMBITS_VALUE);
|
||||
FILE_LOG(logERROR, (mess));
|
||||
} else {
|
||||
ret = setAllTrimbits(arg);
|
||||
|
Reference in New Issue
Block a user