diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-10-02 14:48:56 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-10-02 14:48:56 -0400 |
commit | e859a414daccc39e7174232437e370044bcbfd4b (patch) | |
tree | 38364da8bc2b3a7402c60f5d22f0749e2755245b | |
parent | c6550aba8a93cf543311d1b63224a8b97b339094 (diff) |
Revert "calculate ch1 min/max ampl correctly in AVR-D3-B"
This reverts commit c6550aba8a93cf543311d1b63224a8b97b339094.
-rw-r--r-- | error_utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/error_utils.c b/error_utils.c index 49dd3b4..718c40b 100644 --- a/error_utils.c +++ b/error_utils.c @@ -657,11 +657,9 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) // handle AVR-D3-B-MS1, where the two channels must have opposite polarities if ( (globals.Flash.channels==2) && globals.Flash.chans_opposite_polarities && globals.Flash.ChanKey_amplitude) { if (ChannelStateToTest[0].amplitude > 0.0) { - real_min_ampl[0] = 0.0; real_max_ampl[1] = 0.0; } else { - real_max_ampl[0] = 0.0; - real_min_ampl[1] = 0.0; + real_min_ampl[1]= 0.0; } } |