diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 9cd490e..a29d1f1 100644 --- a/device-functions.c +++ b/device-functions.c @@ -198,6 +198,11 @@ 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); } |