This commit is contained in:
2021-08-04 14:03:27 +02:00
parent 0e5e0f346b
commit 3802f22ebe
10 changed files with 24 additions and 17 deletions

View File

@ -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 = NORMAL_GAIN_MODE;
enum gainMode retval = DYNAMIC_GAIN_MODE;
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:
case DYNAMIC_GAIN_MODE:
case FORCE_SWITCH_G1:
case FORCE_SWITCH_G2:
case FIX_G1: