diff --git a/openhantek/src/hantekdso/mathchannel.cpp b/openhantek/src/hantekdso/mathchannel.cpp index 106e68a..9d36187 100644 --- a/openhantek/src/hantekdso/mathchannel.cpp +++ b/openhantek/src/hantekdso/mathchannel.cpp @@ -96,14 +96,12 @@ void MathChannel::calculate( DSOsamples &result ) { : 0.0 ); break; case Dso::MathMode::GREAT_CH1_CH2: - // logic values: above / below trigger level for ( auto it = mathChannel.begin(), end = mathChannel.end(); it != end; ++it, ++ch1Iterator, ++ch2Iterator ) *it = ( ( *ch1Iterator ) > ( *ch2Iterator ) ? 1.0 : 0.0 ); break; case Dso::MathMode::GREAT_CH2_CH1: - // logic values: above / below trigger level for ( auto it = mathChannel.begin(), end = mathChannel.end(); it != end; ++it, ++ch1Iterator, ++ch2Iterator ) *it = ( ( *ch2Iterator ) > ( *ch1Iterator ) ? 1.0