eiger: change speed to full speed for dr of 4, 8, 16

This commit is contained in:
maliakal_d 2020-02-03 11:37:43 +01:00
parent e432e6f90d
commit 93ab8d05d7
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1,2 @@
Draft
- dr 4, 8, 16 in eiger -> speed 0, 32 stays same (speed 1)

View File

@ -1526,8 +1526,8 @@ int slsDetector::setDynamicRange(int n) {
// update speed for usability
if (dr == 32) {
FILE_LOG(logINFO) << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32"; setClockDivider(RUN_CLOCK, 2);
} else if (dr == 16) {
FILE_LOG(logINFO) << "Setting Clock to Half Speed to cope with Dynamic Range of 16"; setClockDivider(RUN_CLOCK, 1);
} else {
FILE_LOG(logINFO) << "Setting Clock to Full Speed to cope with Dynamic Range of " << dr; setClockDivider(RUN_CLOCK, 0);
}
}