diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 87e67e9..37ad978 100644 --- a/device-functions.c +++ b/device-functions.c @@ -2983,6 +2983,9 @@ int Set_VI_Control(int parameter,int channel,float new_ampl) continue; } else if (globals.Flags.attenuators_enabled == 0) { continue; + } else if (globals.Flash.switchable_zout[channel] + && (globals.ChannelState[channel].zout==globals.Flash.zout_min[channel])) { + continue; } else { use_atten = globals.Flash.attenuators[channel][new_atten_range]; } |