mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 09:08:00 +02:00
changed gain mode. dynamic_gain_mode to dynamic only. binaries in
This commit is contained in:
@ -8560,7 +8560,7 @@ int set_default_dac(int file_des) {
|
||||
int get_gain_mode(int file_des) {
|
||||
ret = OK;
|
||||
memset(mess, 0, sizeof(mess));
|
||||
enum gainMode retval = DYNAMIC_GAIN_MODE;
|
||||
enum gainMode retval = DYNAMIC;
|
||||
LOG(logDEBUG1, ("Getting gain mode\n"));
|
||||
|
||||
#ifndef JUNGFRAUD
|
||||
@ -8593,7 +8593,7 @@ int set_gain_mode(int file_des) {
|
||||
// only set
|
||||
if (Server_VerifyLock() == OK) {
|
||||
switch (gainmode) {
|
||||
case DYNAMIC_GAIN_MODE:
|
||||
case DYNAMIC:
|
||||
case FORCE_SWITCH_G1:
|
||||
case FORCE_SWITCH_G2:
|
||||
case FIX_G1:
|
||||
|
Reference in New Issue
Block a user