diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:40:04 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:40:04 -0500 |
commit | c587cacfa55a7d3c4e24cc398594a4412bb36ee3 (patch) | |
tree | 11358806ab4fda199c7023794760f3dc6a80b6d3 /device-functions.c | |
parent | ca3514ba254ef3d51b40f9e9b7c0afb9c8980261 (diff) |
allow attenuators to be disabled for amplitude calibrationt
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]; } |