Skip to content

Commit

Permalink
remove incorrect comment
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Gardham <[email protected]>
  • Loading branch information
spacejoey86 committed Nov 28, 2024
1 parent 21c413c commit e365b41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openhantek/src/hantekdso/mathchannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e365b41

Please sign in to comment.