summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:12:57 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:12:57 -0500
commit623db64a55a04e531bb847fa02ef20ce1a05a10c (patch)
tree5a80edfce1c59b8d7e4cba6f725f87290dee8b07 /device-functions.c
parent401fd942b84f8a1a8cb48e6c38ebe3dae1ab42ef (diff)
Revert "add possibility to ignore voltage polarity set by user"
This reverts commit 401fd942b84f8a1a8cb48e6c38ebe3dae1ab42ef.
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/device-functions.c b/device-functions.c
index a29d1f1..9cd490e 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -198,11 +198,6 @@ int Set_Amplitude(int check_possible_only,int pol_override,int override_on,int w
int entry;
int actual_pol;
- // for CH2 of AVR-D3-B-MS1
- if (globals.Flash.ignore_ampl_polarity[channel]) {
- new_ampl = fabs(new_ampl);
- }
-
if (globals.Flash.enable_avrq_extra_ampls && channel) {
return Set_avrq_ampl(check_possible_only,word_override,range_override,channel,new_ampl);
}