mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
got rid of unnecesaary handshaking for -1 in dynamic range in receiver
This commit is contained in:
parent
1f9dc775f6
commit
597f5e5d2a
@ -4569,6 +4569,8 @@ int slsDetector::setDynamicRange(int n){
|
||||
|
||||
//receiver
|
||||
if(ret != FAIL){
|
||||
retval = thisDetector->dynamicRange;
|
||||
if((n==-1) && (ret!= FORCE_UPDATE)) n =-1;
|
||||
if(setReceiverOnline(ONLINE_FLAG)==ONLINE_FLAG){
|
||||
#ifdef VERBOSE
|
||||
std::cout << "Sending/Getting dynamic range to/from receiver " << n << std::endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user