diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index fc87bda..464079c 100644 --- a/device-functions.c +++ b/device-functions.c @@ -2710,6 +2710,8 @@ int Set_VI_Control(int parameter,int channel,float new_ampl,int *point_found,int continue; } else if (globals.Flash.attenuators[channel][*atten_range] == 0.0) { continue; + } else if (globals.Flags.attenuators_enabled == 0) { + continue; } else { use_atten = globals.Flash.attenuators[channel][*atten_range]; } |